API2PDF is proud to announce it has built a Docker Container to provide a convenient and reliable Web API to convert web pages and HTML to PDF format and screenshots. The underlying rendering engine is Headless Chrome w/ Puppeteer functionality. Testing can be done to ensure the container meets your needs by following the documentation here.
We are excited about this release because puppeteer offers significant functionality on top of running Headless Chrome raw on the metal. This is new and completely separate from our existing v1 API that we offer which does not support Puppeteer.
Any questions, inquiries, or bug reports can be emailed to support@api2pdf.com.
Endpoints
Control over file generation
Advanced Options
Puppeteer supports many advanced options for PDF and screenshot generation. The request form that lives at the base route https://a2p-v2-demo.azurewebsites.net/ is designed to help you understand what is available for constructing the JSON payloads. It does not actually generate any PDFs or screenshots.
Bells & Whistles
Getting started is super easy. Do a quick test with the following API.
Method:
POST
URL Endpoint:
https://a2p-v2-demo.azurewebsites.net/pdf/html?format=pdf
Headers:
Content-type: application/json
Body:
{
“RequestId”: “12345”,
“Html”: “<p>Hello World</p>”
}
That’s it! Of course the API is capable of doing so much more though.
If you would like to discuss hosting options and pricing for the docker container, please contact support@api2pdf.com for details.
Managed Hosting on Microsoft Azure
API2PDF can host the docker container for you on Microsoft Azure on an isolated virtual machine.
Enterprise
The docker container is for sale for enterprise customers who need to run the container in their own environment.
SaaS
We are not currently offering SaaS version of this web service, but will in the future.
Tags: docker container html to pdf, docker container url to pdf, docker headless chrome, docker headless chrome .net web api, docker html to pdf api, docker puppeteer, docker web api html to pdf, generate pdf with puppeteer, headless chrome container, headless chrome on azure, html to image docker, html to image puppeteer, puppeteer as a service, puppeteer hosting service, puppeteer on azure, puppeteer web api, screenshot webpage with puppeteer, self hosted puppeteer and headless chrome, url to image docker, url to png api
Comments are closed.