blog/iis-disable-cors/ #1627
Replies: 2 comments
-
This solution is right on point. I tried several solutions from StackOverflow with no luck. I needed to disable CORS for some remote API testing. |
Beta Was this translation helpful? Give feedback.
-
This didn't work for me. Nor did any of the solutions offered on Stack Exchange. I have tried all ways to add headers on IIS 10 including different configs in web,config with the CORS module installed. The response I keep getting is "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://example.com/xyz.pdf. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)." It is as if IIS prevents adding CORS headers. |
Beta Was this translation helpful? Give feedback.
-
IIS - Disable CORS | Abhith Rajan
Disable CORS for IIS 10 website by allowing all origins in two simple steps.
https://www.abhith.net/blog/iis-disable-cors/
Beta Was this translation helpful? Give feedback.
All reactions