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 email@example.com.
- HTML to PDF
- URL to PDF
- HTML to Screenshot / Image
- Web page to Screenshot / Image
Control over file generation
- Generate file and download immediately
- Generate file and upload to third party (such as Amazon S3)
- Generate file asynchronously (fire and forget) and upload to third party. Useful for long running requests.
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
- Specify custom HTTP headers on URL requests
- Use Puppeteer WaitFor options
Getting started is super easy. Do a quick test with the following API.
“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 firstname.lastname@example.org for details.
Managed Hosting on Microsoft Azure
API2PDF can host the docker container for you on Microsoft Azure on an isolated virtual machine.
The docker container is for sale for enterprise customers who need to run the container in their own environment.
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