API reference for the PDF generation service.
No authentication required.
GET /health
Returns {"status":"ok"}.
Requires Authorization: Bearer <JWT>.
POST /generate
Content-Type: application/json
{
"html": "<h1>Hello</h1><p>World</p>",
"options": { "format": "A4", "landscape": false }
}
Optional options: format, margin, landscape, printBackground.
Content-Type: application/pdf)Retry-After header)