curl --location -g --request POST 'http://lambda.{region}.amazonaws.com/chrome/html' \
--header 'Content-Type: application/json' \
--data-raw '{
"fileName": "test.pdf",
"html": "<p>Hello World</p>",
"inlinePdf": true,
"options": {
"landscape": "true",
"printBackground": false
}
}'
{
"cost": 0.0007979,
"mbIn": 0.06463,
"mbOut": 0.73327,
"pdf": "https://link-to-your-pdf",
"success": true
}