FEATURES
TUTORIALS
PRICING
RESOURCES
You can use the HTML2PDF service to convert dynamically generated HTML into a PDF document. This can be used for generating customer-facing documents like proposals, quotes, invoices, etc.
You access the HTML2PDF service by making an API call as shown below.
Simply call parasql_http() as shown below. Replace YOUR_API_KEY with a key you create via Tools > API Keys.
In the above example the HTML is dynamically generated via a stored function called Invoice_GetHTML(); you can see the code here.
If makePublic is true anyone with the document URL can access it.
Your callback procedure must take the following parameters:
The respBody will look like this:
Your callback procedure will need to save the documentField to your database with code something like this: