I am trying to create an excel file from gembox ExcelFile in asp.net web api and let it be downloaded from angular 5 application. But, the downloaded file says it is corrupt and when opened, random and unwanted texts are displayed along with the original data that is required.
Here's the server side response:
Here's the client side request :
This is the server side code :
Here's how I am trying to get it from the client :
Any help would be appreciated.