How to convert MHT / MHTML to XLS using Aspose.Cells REST API

Is it possible to convert MHT to XLS using API? I tried but it doesn’t seem available.

@birudvora

Please share following details and we’ll look into this scenario:

  • API variant (.NET or Java) and version (e.g 20.10, 21.1) that you are using
  • Sample MHT file

I am using Rest API and not using any library.

Ability to convert from MHT to XLS is available in the website Convert MHT to XLSX Online for Free. But I could not find it in the API document here:

Aspose.HTML Cloud - API References or Aspose.Cells Cloud - API References

Thanks

@birudvora

Yes, Aspose.Cells Cloud supports MHT/MHTML to XLS. You can use all supported conversion APIs from Aspsoe.Cells Cloud for the purpose. For example, please check GetWorkBook API for reference.

GET ​/cells​/{name} Exports workbook to some format.

curl -X GET "https://api.aspose.cloud/v3.0/cells/result.mht?format=xls&isAutoFit=false&onlySaveTable=false&outPath=resultmhttoxls.xls" 
-H "accept: multipart/form-data" 
-H "authorization: Bearer [Access_Token]" 
-H "x-aspose-client: Containerize.Swagger"