Since javascript does not recognize downloadable file formats, setting mere content-type header is not enough when we want to provide a facility to download a file from web api controller method.
This discussion provides a workaround for the issue:
http://stackoverflow.com/questions/14831860/download-excel-file-from-page-via-webapi-call
This discussion provides a workaround for the issue:
http://stackoverflow.com/questions/14831860/download-excel-file-from-page-via-webapi-call
No comments:
Post a Comment