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.

Allow anything through CORS Policy

How can I disable cors? For some reason I wild carded the allowed origins and headers yet my ajax requests …

ruby-on-rails cors
What exactly does the Access-Control-Allow-Credentials header do?

I'm trying to understand how to use CORS and am confused about what the Access-Control-Allow-Credentials header does. The documentation says …

http-headers cors
How to create cross-domain request?

How to create a cross-domain request using Angular 2? Can you provide an example? Like a request between localhost:3000 and localhost:8000 …

angular http cors cross-domain
Asp.Net WebApi2 Enable CORS not working with AspNet.WebApi.Cors 5.2.3

I tried to follow the steps at http://enable-cors.org/server_aspnet.html to have my RESTful API (implemented with …

c# rest cors asp.net-web-api2
Access-Control-Allow-Origin in Django app when accessed with Phonegap

I'm developing a Phonegap app for my Django based app, but when trying to make Ajax calls I get this …

python ajax django cordova cors
Access denied in IE 10 and 11 when ajax target is localhost

I'm trying to do a ajax call between a server (http) that is on internet. And target that to my …

ajax xmlhttprequest cors internet-explorer-10 internet-explorer-11
How to enable Cross domain requests on JAX-RS web services?

I developed a set of restful web services. I couldn't call any of these methods from remote clients due to …

cors jax-rs cross-domain java-ee-7 wildfly-8
API Gateway CORS: no 'Access-Control-Allow-Origin' header

Although CORS has been set up through API Gateway and the Access-Control-Allow-Origin header is set, I still receive the following …

ajax amazon-web-services cors aws-api-gateway
RESTful webservice : how to set headers in java to accept XMLHttpRequest allowed by Access-Control-Allow-Origin

I have a RESTful webservice which will return string and it was written in Java (JAX-WS). My problem is when …

java rest jax-ws jax-rs cors
Set cookies for cross origin requests

How to share cookies cross origin? More specifically, how to use the Set-Cookie header in combination with the header Access-Control-Allow-Origin? …

authentication cookies cors http-headers localhost