Adding custom headers to request
lucaselvaggio opened this issue · 1 comments
It may be possible to modify the downloadPdf() function of the PdfDownloader class in such a way as to have the possibility of adding a parameter that allows adding one or more headers to the request?
Thus obtaining the possibility of downloading from end-points that are protected by the authorization of the Bearer Token.
It may be possible to modify the downloadPdf() function of the PdfDownloader class in such a way as to have the possibility of adding a parameter that allows adding one or more headers to the request? Thus obtaining the possibility of downloading from end-points that are protected by the authorization of the Bearer Token.
Yes, that sounds pretty easy to do. Would love to see a PR 👍