How to convert Word to PDF using Aspose.PDF Cloud API?

The cloud PDF API seems to do most of what we need. However, it’s unclear if it allows you to convert .doc/.docx files to PDF.


Would we need to make a separate call to the cloud Words API for this?

Thanks for your time.

Hi there,

Thanks
for your inquiry. Yes, you can convert Word document to Pdf using Aspose.Words for Cloud. Please read following
documentation links. Please let us know if you have any more queries.

Convert Word to Images, Multipage TIFF, HTML, PDF and other File Format

@jdevenuta

Please note in API Version 4.0, we have changed all PUT methods to POST (and vice versa): from now on, all idempotent methods are PUT and non-idempotent ones are POST. Also, the new API Version uses Json Web Token(JWT) authentication instead of OAuth and URL signing methods.

curl -X PUT "https://api.aspose.cloud/v4.0/words/convert?format=pdf&fileNameFieldValue=sourceFilename" 
-H "accept: application/octet-stream" 
-H "Authorization: Bearer [Access_Token]" 
-H "Content-Type: multipart/form-data" 
-H "x-aspose-client: Containerize.Swagger" 
-F "document=@C:/Temp/Sections.docx" 
--output C:/Temp/Sections.pdf