Top "Cors" questions

Use this tag when you see a message in the browser devtools console about CORS (Cross-Origin Resource Sharing) — e.g., your browser logged an error about Access-Control-Allow-Origin, and you want to know how to eliminate the error.

CORS - What is the motivation behind introducing preflight requests?

Cross-origin resource sharing is a mechanism that allows a web page to make XMLHttpRequests to another domain (from wikipedia). I've …

ajax html http cors preflight
webpack dev server CORS issue

I am using webpack-dev-server v1.10.1 to boost up my Redux project and I have the options below: contentBase: `http://${config.…

reactjs cors superagent webpack-dev-server
handle multiple domains with Access-Control-Allow-Origin header in Apache

I want to configure apache for cross-domain access header. I have tried multiple combination as suggested on number of threads …

apache .htaccess http cross-domain cors
jQuery AJAX call results in error status 403

I'm making a query to a web service using jQuery AJAX. My query looks like this: var serviceEndpoint = 'http://example.…

jquery ajax cors http-status-code-403
Access-Control-Allow-Origin: "*" not allowed when credentials flag is true, but there is no Access-Control-Allow-Credentials header

Suddenly, seemingly without changing anything in my web app, I started getting CORS errors when opening it in Chrome. I …

xmlhttprequest cors same-origin-policy
Best method: Access-Control-Allow-Origin Multiple Origin Domains

This question has been asked on here before and given an array of good answers, mainly: Access-Control-Allow-Origin Multiple Origin Domains? …

http xmlhttprequest cross-domain cors
Default value for Access-Control-Allow-Methods

I just learned about the Access-Control-Allow-Methods header, e.g. Access-Control-Allow-Methods: OPTIONS, HEAD, GET I have never used this header (just …

http header cross-domain cors
CORS in .NET Core

I am trying to enable CORS in .NET Core in this way: public IConfigurationRoot Configuration { get; } public void ConfigureServices(IServiceCollection …

c# web cors .net-core
WCF error : 405 Method Not Allowed

Going nuts with this issue. I have a solution with 2 projects, one of them is a plain old html with …

c# wcf jsonp cors
Spring Data Rest and Cors

I am developing a Spring Boot application with a Rest interface and a dart fronted. The XMLHttpRequest does execute a …

java spring spring-mvc cors spring-data-rest