Endpoint: /convert-to-pdf
Method: POST
Request Format:
.html{"key": "value"}) or mention the file-pathExample Shell Request:
curl -X POST "http://yourserver.com/convert-to-pdf" -F "file=@path/to/your/file.html" -F "json_data={\"key\": \"value\"}"
This request will convert the provided HTML file and JSON data into a PDF document.