HTML to PDF Conversion API

Populate HTML Template with External Data using HTML Manipulation API

We are pleased to announce the new release of Aspose.HTML Cloud 18.9. We have introduced REST APIs that let you populate HTML template document with external data. In this release an initial limited implementation of this feature has been provided. It will be extended with new options in nearest releases. For a detailed note on what is new and fixed, please visit the release notes section of Aspose.HTML Cloud Documentation.

New Features and Enhancements

Populate HTML Document Template with Data

Aspose.HTML Cloud provides a capability to use HTML document as a template to populate it with some external data. Source data can be in various formats, such as XML, JSON etc. Please use one of the following two APIs for template merge:

  • GET /html/{templateName}/merge: Merge HTML template with data and return resulting HTML document in the response content; both template and source data are stored in the cloud storage
  • PUT /html/{templateName}/merge: Merge HTML template with data and save resulting HTML document to cloud storage; a template is stored in the storage, and source data are passed in the request content

For APIs description, cURL and SDK Examples please check our Developer Guide.

Removed API

GetDocument API is considered as redundant and unclear so has been removed.

  • GET: Get HTML document from storage by its name and folder path

Aspose Cloud Resources

You may visit the following API resources for getting started and working with the API:

  • Product Overview – An overview of Aspose.HTML Cloud APIs
  • Product Documentation – Detailed API documentation with code examples and details about API functional areas
  • Cloud SDKs – An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project
  • API Reference Guide – Quickly browse through all Aspose.HTML Cloud APIs and test them in the browser
  • Aspose.HTML Forum – Our free online support forum where we address your queries and inquiries