This is an archived forum post. The information may be outdated. Contact us if you have any
PDF Binary data
wrote on 2013-10-02:
I am new to this and very confused as to what to do the with PDF binary data that I receive back to a successful ajax request.
I created a getPdf.php that I perform a Ajax post request on, passing in the html data. getPdf gets the proper username and token and calls the appropriate function in the pdfcrowd php file. The pdf is set to be sent back as attachment. My jQuery code gets a success callback with the data that is binary PDF. Now I am stuck and no idea how to open that as a save as or download as in my browser.