Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 420 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 420 Bytes

HEADLESS CHROME HEADLESS

puppeteer as an independent nodejs app. forked from mailtarget

Usage

docker run -p 3000:3000 wkwksama/headless-chrome-api

example create pdf

POST http://localhost:3000/pdf

{
    "html": "<h1>my awesome dpf</h1>",
    "paperSize": "A5" // default A4
}

It will response the pdf file generated from html