How to convert PDF to Latex / TeX using Aspose.PDF REST API

I tried concerting pdf to latex using API. but the file I got is result.latex…but in general latex files have tex as extension right? when I open this result using text editor…the data is not at all in a readable format.
This is same with sample file available on website.pdf to latex

@Blind_Reader

Kindly use the following APIs to convert PDF to Latex(TeX) other APIs are obsolete now. Please check the sample cURL command for reference below. Hopefully, it will help you to accomplish the task.

GET ​/pdf​/{name}​/convert​/tex Converts PDF document (located on storage) to TeX format and returns resulting file in response content
​PUT /pdf​/{name}​/convert​/tex Converts PDF document (located on storage) to TeX format and uploads resulting file to storage

​PUT /pdf​/convert​/tex Converts PDF document (in request content) to TeX format and uploads resulting file to storage.

curl -X GET "https://api.aspose.cloud/v3.0/pdf/dummy.pdf/convert/tex" 
-H "accept: multipart/form-data" 
-H "authorization: Bearer [Access_Token]" 
-H "x-aspose-client: Containerize.Swagger" 
--output C:/Temp/dummy.zip

Good Evening Sir!! we tried the above approach and we received the following output
Screenshot from 2021-04-03 20-16-00.png (846.9 KB)
Still didn’t receive a valid lex file.

@Blind_Reader

Please share your sample input PDF document here. We will investigate it and share our findings with you.

testcomp.pdf (54.2 KB)

@Blind_Reader

I have uploaded your shared PDF file to storage, converted it to Tex and saving the output as a zip file. It is working fine at my end. Please find the output file.testcomp.zip (46.5 KB)

curl -X GET "https://api.aspose.cloud/v3.0/pdf/testcomp.pdf/convert/tex" -H "accept: multipart/form-data" -H "authorization: Bearer [Access_Token]" -H "x-aspose-client: Containerize.Swagger" --output C:/Temp/testcomp.zip