I have a method to download an .xlsx
file. The code is shown in this screenshot:
This works perfectly on my local IIS. But when I deploy this code to our organization’s test server, I get an HTTP error 400. How can I resolve this issue?
Error:
I tried both the Get & Post methods. Both methods work fine on the local IIS, but failed on the server.
New contributor
Rashmi Ranjan Sarangi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.