Reactjs – How to fix CORS policy in ASP.NET with React
When calling my API with Postman it works, however, with my website it doesn't. I got the console error below when I tried: Access to XMLHttpRequest at 'http://localhost:5243' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header…