There will bee two ways / endpoints to use this API.
1. /url
2. /html
Send url and jwt-token to tell this API what it should return as an PDF file.
Required. Send it in the "x-api-key" header or as the "apikey" query parameter.
Requests without a valid key get 401 Unauthorized.
JWT-Token to access the requested site / url.
The site from you want to create a PDF. Be sure to encode uri whit encodeURIComponent() i js
The requested filename. no extentions need!
Exampel: 'filename'
Exampel not to do: 'filename.pdf'
/url/https%3A%2F%2Fdr.dk/test002?apikey=YOUR_API_KEY
Under development - idea
Send html that should genrate the PDF file