Excel to HTML
This REST API converts a spreadsheet file to an HTML format file.
Query Parameters
| Parameter Name | Type | Description |
|---|---|---|
| password | string | The password required to open the Excel file. |
| storageName | string | The name of the storage where the file is located. |
| checkExcelRestriction | bool | Indicates whether to check Excel file restrictions when modifying cell‑related objects. |
Request Body Parameter
| Parameter Name | Type | Description |
|---|---|---|
| datafile | file | The spreadsheet file to be converted, supplied as the first part of the multipart request. |
Response
REST API Specification
| API | Type | Description | Swagger Link |
|---|---|---|---|
| /cells/convert/html | POST | Convert a spreadsheet to an HTML file. | PostConvertWorkbookToHtml |
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make calls to the Cloud API with cURL.
Cloud SDK Family
Using an SDK is the best way to speed up development. An SDK handles low‑level details so you can focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to call Aspose.Cells web services using various SDKs:
Other APIs that Implement This Function
-
POST /cells/{name}/saveAs – Saves an Excel file as an HTML file with additional settings and stores the result in the specified storage.
https://apireference.aspose.cloud/cells/#/SaveAs/PostDocumentSaveAs -
PUT /cells/convert – Converts an Excel file to HTML with optional settings and returns the result in the response.
https://apireference.aspose.cloud/cells/#/Workbook/PutConvertWorkBook -
GET /cells/{name} – Retrieves an Excel file converted to HTML with optional settings.
https://apireference.aspose.cloud/cells/#/Workbook/GetWorkBook