Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding custom headers to request #2

Open
lucaselvaggio opened this issue Oct 25, 2023 · 1 comment
Open

Adding custom headers to request #2

lucaselvaggio opened this issue Oct 25, 2023 · 1 comment

Comments

@lucaselvaggio
Copy link

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.

@boldijar
Copy link
Owner

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants