I'm create an api can upload excel file with multipart/form-data. When I run on visual studo, it work normally. But, after deploy to IIS, it can not upload and throw error as below:
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I try setting with web.config but it still not work, event api POST, GET, DELETE with json context still working normally.
public void Configure(...)method setup?