Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[Feature request]Add option to allow CORS request #10478
What is the problem
Can't access Web API on another website due to CORS policy. The Web API response missing CORS headers, such as
What is the expected behavior
Other website can access Web API with CORS request.
Steps to reproduce
Use XMLHttpRequest to access Web API from another website.
Extra info(if any)
Browser error log in console: