Skip to content

Latest commit

 

History

History

html2pdf

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Description

HTML/URL to PDF

Example Request

  • Curl
curl "https://api.html2pdf.app/v1/generate?url=https://example.com&apiKey={{token}}"
  • Raw
GET /v1/generate?url=https://example.com&apiKey={{token}} HTTP/1.1
Host: api.html2pdf.app

Response

  • Success
Will download PDF file of example.com
  • Error
{
    "errorCode":6,
    "message":"Unauthorized"
}

Regex

[a-zA-Z0-9]{64}

Example API key

BZyM5NrOFggEKScKxgXksF3nRHxTaJS8omSqcrE2oa7x7RekATlVYeJZ9BZGUrQd