There was an error while loading. Please reload this page.
Using query string to inform the URL will be used to access the address and converted it to PDF:
# data not url-encoded http://localhost:8080?url=http://address
# data url-encoded http://localhost:8080?url=http%3A%2F%2Faddress
By other methods/verbs is possible to send the data as a JSON or multipart/form-data.
# the bare address http://localhost:8080
An example of the payload with the url to be converted to PDF:
{ "url": "http://address" }
An example of a curl request sending an html file to be converted to PDF:
curl -X POST \ http://localhost:8080/ \ -H 'cache-control: no-cache' \ -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \ -F 'html=@/example'