Convert a Spreadsheet Table data to a Html file

Convert a local spreadsheet/Excel table data to a html file.

Convert Table to Html API

PUT http://api.aspose.cloud/v4.0/cells/convert/table/html

Request Parameters:

Parameter Name Type Path/Query String/HTTP Body Description
Spreadsheet File FormData Upload the spreadsheet file to be converted.
worksheet String Query The worksheet name of Spreadsheet/Excel
tableName String Query The name of the table to convert.
outPath String Query (Optional) The folder path where the converted file will be stored. The default value is null.
outStorageName String Query The designated storage name for the output file.
fontsLocation String Query Specify custom fonts for the conversion.
region String Query Define the spreadsheet region settings.
password String Query The password required to access the spreadsheet file.

Response

[
    {
        "Name": "ResponseFile",
        "DataType": {
            "Identifier": "File",
            "Reference": "Stream"
        }
    }
]

Error Codes

  • 400 Bad Request: Invalid Apose.Cells Cloud API URI.
  • 401 Unauthorized: Invalid access token. Or invalid client id and secret.
  • 404 Not Found: The spreadsheet file not accessible.
  • 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.

Why should you use the Convert Table to Html API?

  • No need for cloud storage, reducing the burden on cloud resources.
  • Development can be quickly completed through the existing SDK.

How to Use the Convert Table to Html API with SDKs?

Convert Table to Html API Specification

The Convert Table to Html API Specification outlines a publicly accessible programming interface, allowing you to perform REST interactions directly from your web browser.

Use Aspose.Cells Cloud SDKs

Using the SDK is the fastest way to develop, as it abstracts away the low-level details, allowing you to convert a spreadsheet table data to a html file with short code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples illustrate how to interact with Aspose.Cells web services using various SDKs: