Hello, I need to pass request header (authentication) to open a pdf file by url, exist a way to do this? Thank you
Hi @lyanetgp, it's better to do these things outside the library. What I mean is that we could retrieve the file first, save it in local memory, and then pass it to the library.
Take a look at this: https://github.com/crabbly/Print.js/issues/160
That is what I ended up doing. Works like a charm. Thank you very much for
your answer, and advice. I appreciate it.
El El mié, feb. 20, 2019 a las 10:48 p. m., Rodrigo Vieira <
[email protected]> escribió:
Hi @lyanetgp https://github.com/lyanetgp, it's better to do these
things outside the library. What I mean is that we could retrieve the file
first, save it in local memory, and then pass it to the library.
Take a look at this: #160 https://github.com/crabbly/Print.js/issues/160—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/crabbly/Print.js/issues/281#issuecomment-465851330,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEzDv1NWpspZzEaIYIx_qc27Ek7eloY-ks5vPhcJgaJpZM4bD6Ca
.
Most helpful comment
Hi @lyanetgp, it's better to do these things outside the library. What I mean is that we could retrieve the file first, save it in local memory, and then pass it to the library.
Take a look at this: https://github.com/crabbly/Print.js/issues/160