All-Star
43841 Points
18769 Posts
Apr 03, 2019 10:53 AM|mgebhard|LINK
Please see the Web API docs to enable CORS as your solution does not look correct. Assuming this is Web API 2.
https://docs.microsoft.com/en-us/aspnet/web-api/overview/security/enabling-cross-origin-requests-in-web-api
All-Star
43841 Points
18769 Posts
Re: jquery.min.js:2 Access to XMLHttpRequest at ' ' from origin ' ' has been blocked by CORS poli...
Apr 03, 2019 10:53 AM|mgebhard|LINK
Please see the Web API docs to enable CORS as your solution does not look correct. Assuming this is Web API 2.
https://docs.microsoft.com/en-us/aspnet/web-api/overview/security/enabling-cross-origin-requests-in-web-api