A super simple, easy to deploy HTML to PDF microservice (powered by Puppeteer)
To start camelot in development mode run npm run dev
POST http://localhost:7331/raw
Request
{
"html": "<h1>Hello world</h1>"
}
Response
{
"path":"/docs/f5995286-9fc5-4e21-971c-269390c109de.pdf"
}
Options
- html
<String> (Required) The raw HTML string
- sendFile
<Boolean> Whether or not to return the generated PDF directly instead of just a URL
Simply run docker-compose up