puppeteer as an independent nodejs app. forked from mailtarget
docker run -p 3000:3000 wkwksama/headless-chrome-api
POST http://localhost:3000/pdf
{
"html": "<h1>my awesome dpf</h1>",
"paperSize": "A5" // default A4
}
It will response the pdf file generated from html