none
Web API .NET Access to XMLHttpRequest RRS feed

  • Question

  • I am getting the following when trying to access the API from my local system, API is configured on the cloud server. But the same is working when I am running using postman.

    OPTIONS ' ' 500 (Internal Server Error)

    Access to XMLHttpRequest at ' ' from origin 'http://localhost:49940' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Let me know if anyone has the solution

    Friday, April 5, 2019 4:18 AM