Appearance
With Insomnia
Create a new POST request using the following URL: https://api.doppio.sh/v1/render/pdf/direct.
Open the Authorization tab, select Bearer, and paste your token. You can find it under the API key tab in the app. It should look like this:
Next, open the Body tab, select the JSON format, and paste the request body you want to send. Here's an example:
json
{
"page": {
"pdf": {
"printBackground": true
},
"goto": {
"url": "https://www.spacejam.com/1996/",
"options": {
"waitUntil": [
"networkidle0"
]
}
}
}
}In Insomnia, it should look like this:
You're all set. Send the request to generate and download the PDF.