mercredi 1 mars 2017

How to accept a pdf file from server in ember

Consider the below URL:

http://localhost:4200/abc/secured/rest/name/166

This URL returns a PDF file from the server. Code is done to successfully trigger the service URL and get the response code as 200.

What code should be written in ember to capture the PDF file and prompt a save as window to the User for saving the PDF file in local machine.




Aucun commentaire:

Enregistrer un commentaire