Discussions
Authenication to our website
about 2 months ago by D Duchene
Hi - I'm trying to convert a webpage in my application to PDF and I can send the URL of that webapge to convert API's (Web to PDF conversion endpoint), but I need convert API to use a token I provide in order to login and view that URL.
Puppeteer provides Page.setExtraHTTPHeaders() method that can be used to add the bearer token to the request, but I don't see a way to use that with convert APi.
Just for clarity, I understand how to send the convertAPI auth token and that works fine. It's when convert API requests the URL that I provided that I need this additional auth info sent.