HTML/URL to PDF
- Curl
curl "https://api.pdflayer.com/api/convert?access_key={{token}}&document_url=https://pdflayer.com/downloads/invoice.html"
- Raw
GET /api/convert?access_key={{token}}&document_url=https://pdflayer.com/downloads/invoice.html HTTP/1.1
Host: api.pdflayer.com
...
- Success
Automatically download pdf
- Error
{
"success":false,
"error": {
"code":101,
"type":"invalid_access_key",
"info":"You have not supplied a valid API Access Key. [Technical Support: [email protected]]"
}
}
[a-z0-9]{32}
tue3sv9hzsey1me4l7fwq3t46u5k8wag