Let's first configure the API endpoint and the credentials. This configuration is common for all conversion types.
API endpoint - Select the HTTP POST method and enter the API endpoint: https://api.pdfcrowd.com/convert/
API credentials. The authorization method is Basic Auth. You can use either the demo credentials or your personal API credentials.
The demo account credentials are:
- username: demo
- API key: ce544b6ea52a5621fb9d55f8b542d14d.
If you have a Pdfcrowd account, you can find your personal API credentials in your account. Enter your Pdfcrowd username to the Username field and your API key to the Password field.
HTML to PDF
To convert a web page to PDF, switch to the Body tab, check the "form-data" option and specify the conversion parameters:
HTML to Image
Conversion of a web page or a local HTML file to an image is similar, just add the output_format parameter and specify the image format.