How to build PDF file from binary string returned from a web-service using javascript

后端 未结 8 1636
悲哀的现实
悲哀的现实 2020-11-22 14:33

I am trying to build a PDF file out of a binary stream which I receive as a response from an Ajax request.

Via XmlHttpRequest I receive the following da

8条回答
  •  名媛妹妹
    2020-11-22 15:18

    I work in PHP and use a function to decode the binary data sent back from the server. I extract the information an input to a simple file.php and view the file through my server and all browser display the pdf artefact.

    
    

提交回复
热议问题