HTML to PDF Conversion
Introduction
Aspose.HTML Cloud has provided the simplest API to convert an HTML page to the fixed-layout document format PDF. You can convert the HTML document to PDF either from the storage by its name or from the web by its URL.
API Information
API | Type | Description | Swagger Link |
---|---|---|---|
/html/{name}/convert/pdf | GET | Converts the HTML document (located on storage) to PDF and returns resulting file in response content | GetConvertDocumentToPdf |
/html/{name}/convert/pdf | PUT | Converts the HTML document (located on storage) to PDF and uploads resulting file to storage. | PutConvertDocumentToPdf |
/html/convert/pdf | GET | Convert the HTML page (located in the Web) to PDF and returns resulting file in response content | GetConvertDocumentToPdfByUrl |
/html/convert/pdf | POST | Converts the HTML document (in request content) to PDF and uploads resulting file to storage. | PostConvertDocumentInRequestToPdf |