mardi 13 mai 2014

ajax jquery download file


Vote count:

0




I am trying to download a file using ajax (jQuery) from a MVC Web API method. From what I have read you cannot directly download but put a link specifying the url or do a window.location.href. The problem is that I have to pass some security information in the header of the request, how do I specify that when doing a window.location.href in JavaScript?



asked 25 secs ago






Aucun commentaire:

Enregistrer un commentaire