curl --location -g --request POST 'http://lambda.{region}.amazonaws.com/wkhtmltopdf/url' \
--header 'Content-Type: application/json' \
--data-raw '{
"fileName": "test.pdf",
"inlinePdf": true,
"options": {
"orientation": "landscape",
"pageSize": "A4"
},
"url": "https://www.github.com"
}'
{
"cost": 0.0007979,
"mbIn": 0.06463,
"mbOut": 0.73327,
"pdf": "https://link-to-your-pdf",
"success": true
}