Javascript download file sent from get request
Now the task is to download this response(a .zip file) on User's local system without user being redirected to an URL or a prompt asking him/her to click a button to download the this zip file. After making an AJAX(POST) request I get a success data. Now I do not know how to proceed. I tried the solution provided by you. Article Contents. 1 How to Use the Express.js res.download helper function to download a file using post or get request with an example?; 2 How to Download Static files from the server using Express.js (Nodejs) Static folder function?