Skip to content
python
import requests
import json

url = "https://api.doppio.sh/v1/render/pdf/sync"

payload = json.dumps({
  "page": {
    "pdf": {
      "printBackground": True
    },
    "goto": {
      "url": "https://www.spacejam.com/1996"
    }
  }
})
headers = {
  'Authorization': 'Bearer <YOUR API KEY>',
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

All rights reserved