action api2pdf_chrome_from_html_post { label: "Convert raw HTML to PDF" description: "Convert HTML to a PDF using Headless Chrome on AWS Lambda.\n### Authorize via Header of Request\n**Authorization: YOUR-API-KEY**" provider: api2pdf method: POST path: "/chrome/html" encoding: json input: { type: "object" required: ["html"] properties: { fileName: { type: "string" } html: { type: "string" format: "html" } inlinePdf: { type: "boolean" } options: { type: "object" properties: { landscape: { type: "string" } printBackground: { type: "boolean" } } } } } output: { type: "object" properties: { cost: { type: "number" description: "Cost of the operation (mbIn + mbOut) * $.001" } mbIn: { type: "number" description: "The amount of megabytes of bandwidth used to process the pdf" } mbOut: { type: "number" description: "The amount of megabytes of bandwidth generated from the resulting pdf" } pdf: { type: "string" description: "A url to the PDF that will exist only for 24 hours" } success: { type: "boolean" description: "Will be true if the operation suceeded" } } } }