Save converted file response body to pdf file

I am using node.js and the PUT /words/convert API to convert a docx to a pdf, I get the response body, but am trying to write the body to a pdf file on my computer. I cannot open the file because of corruption issues. Most likely something to do with the encoding

This topic has been moved to the related forum: Convert DOCX to PDF and save result to local drive in Nodejs using Aspose.Words REST API - Free Support Forum - aspose.cloud