cURL API to convert MHTML to PDF

Convert MHTML to PDF using command line

Use cURL command line tool to convert MHTML to PDF online.

View code snippet

Convert MHTML to PDF cURL REST API

Convert a MHTML file to PDF format in cURL. This cURL library is designed to convert MHTML files to a wide variety of file formats using REST API.

The API MHTML to PDF Conversion allows cURL developers to easily convert MHTML to PDF and take advantage of both file formats.

Convert a MHTML file to PDF in cURL

Converting file formats from MHTML to PDF is a complex task. All MHTML to PDF format transitions are performed by our cURL SDK, while maintaining the main structural and logical content of the source MHTML document.

Our cURL library is a professional solution to convert MHTML, PDF files online. This Cloud SDK gives cURL developers powerful functionality and perfect quality PDF output.

The following cURL example of using the Conversion API will get you started quickly.

Upload a file you want to convert
Run code
Select the target format from the list
curl -v "https://api.aspose.cloud/v4.0/words/convert?format=pdf" \
     -X PUT \
     -H "Content-Type: multipart/form-data" \
     -H "Authorization: Bearer ####################" \
     -F Document="@Input.mhtml"
Run code
  
Copy cURL code to the clipboard

How to convert MHTML to PDF using command line

  1. Install cURL
  2. Get your credentials to use our REST API in cURL
  3. Pass the Bearer token in the Authorization header
  4. Call the /convert method to convert MHTML to PDF format
  5. Download the result

cURL library to convert MHTML to PDF

Download and install the curl utility. Please follow these Instructions to quickly get the necessary security credentials and access our REST API.

System Requirements

There are no special requirements for using this tool.

5%

Subscribe to Aspose Product Updates

Get monthly newsletters and offers directly delivered to your mailbox.

© Aspose Pty Ltd 2001-2025. All Rights Reserved.