Hello,
I am trying to make an API call and I wanted my docx template to be a PDF.
I am using unoconv and when I run within the jsreport platform it works perfectly.
But when I make the API call from Postman , it does not render ok.
When saving the response, I notice it is saving it as a docx file.
When I change the extension to PDF, then it looks good.
So the problem is that, even thought unoconv is changing it to PDF, in the API request it is bringing me the response type as a "docx".
Content-Type of the response:
application/vnd.openxmlformats-officedocument.wordprocessingml.document