when trying to get zip through postman we are getting zip file correctly , but when I'm trying to get using ajax call zip file I'm getting is corrupted . I used fetch function also but its not working
Asked
Active
Viewed 27 times
0
-
Hi and welcome on Stack Overflow. Please read guidelines how to ask a good question. Please share a code snippet, not an image. To your question, try it without Content Type json. – hwsw Mar 27 '23 at 11:02
-
Does this answer your question? [How can I download a file using window.fetch?](https://stackoverflow.com/questions/32545632/how-can-i-download-a-file-using-window-fetch) – hwsw Mar 27 '23 at 11:06
-
[Please do not upload images of code/data/errors.](//meta.stackoverflow.com/q/285551) – ugexe Mar 27 '23 at 17:24