HTML to PDF

There will bee two ways / endpoints to use this API.
1. /url
2. /html

/url

Send url and jwt-token to tell this API what it should return as an PDF file.

Parameters

token

JWT-Token to access the requested site / url.

url

The site from you want to create a PDF. Be sure to encode uri whit encodeURIComponent() i js

filename

The requested filename. no extentions need!
Exampel: 'filename'
Exampel not to do: 'filename.pdf'

Exsample

/url/1234567890/https%3A%2F%2Fdr.dk/test002/

/html

Under development - idea

Send html that should genrate the PDF file