Content To PDF
A 2-step recipe with Browserless. We can help you get access.
Recipe · 2 steps
Content To PDF
with Browserless
Capture a page's rendered HTML and convert that exact HTML into a PDF.
- Render the URL to fully parsed HTML and return it as the html output for reuse in the PDF step.
- Generate a PDF from the captured HTML string by supplying it as the html payload instead of a URL, producing a self-contained document.
What you'll need to have ready
- token: The Browserless authorization token passed as a query parameter.
- url: The URL of the page to render and convert to PDF.
For your developer
Arazzo workflow browserless:content-to-pdf, 2 operations: {$sourceDescriptions.browserRestApisApi.url}#/paths/~1chrome~1content/post → {$sourceDescriptions.browserRestApisApi.url}#/paths/~1chrome~1pdf/post. Specs on APIs.io.