Exhaustive Parameter List

POST https://wkhtmltopdfservice.com/api/convert-to-pdf?auth=wk_********
{
// source information, set either html, or url
"html": string // the raw html to render
"url": string // a url to render
// optional parameters
"options": {
// wait for n ms before rendering page.
// value must be <= 10000
// optional
javascriptDelayMs: number
// wait for window.status to match this string before rendering.
// will wait a max of 10 seconds before timing out
// optional
windowStatus: string
// prints javascript console log messages on pdf
// optional
debugJavascript: boolean
// Specify how to handle pages that fail to
// load: abort, ignore or skip (default abort)
loadErrorHandling: string
// Specify how to handle media files that fail to
// load: abort, ignore or skip (default abort)
loadMediaErrorHandling: string
// ignores warnings from wkhtmltopdf output
ignoreOutputWarnings: boolean
}
}