downloading an excel file from Node.js back-end using angular.js front-end
|Added at||2017-01-01 15:01|
I am trying to download an excel file from a node.js server.
when I open the requested file on the server side it is just ok, but when I am opening the downloaded file on the client side it is corrupted (the file format or file extension is not valid).
my server side code:
what am I doing wrong?