Free Support Forum -

Convert PDF to DOC/DOCX with Aspose.PDF REST API issue

[Get] : pdf​/{name}​/convert​/doc API response is not in the DOC format.
Please look into below files for refence:
The file input I’m giving to API is :
aa3094b8-2942-417f-9025-1425f4dc8a83.pdf (21.0 KB)
The file out put I’m getting is :
image.png (69.3 KB)


Kindly note GetPdfInStorageToDoc API method converts PDF from storage to DOC/DOCX and returns result in response stream. You need to write the output to the file. Please find the sample cURL command for reference.

curl -X GET "" 
-H "accept: multipart/form-data" 
-H "authorization: Bearer [Access_Token]" 
-H "x-aspose-client: Containerize.Swagger" 
--output C:/Temp/PDFtoDOC.docx