DOCX as PDF in API request



  • 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



  • Thank you for the bug report.
    I've fixed the bug and we should release the changes at the end of the week.



  • what is update on this , how to set configuration for the unconvo pdf format


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.