CORS AJaX GET


#1

Hello, all,

I was just wondering if anyone has successfully accomplished a CORS via AJaX by setting the "Access-Control-Allow-Origin" header to either wildcard (*) or FQDN (www.anothersite.com)?

I work primarily in ColdFusion and found a claim that I can use a CFHEADER tag to set the Access-Control-Allow-Origin and complete a cross-origin request. I was just wondering if anyone else has successfully done the same thing (regardless of server-side language).

V/r,

^ _ ^


#2

The question is moot. I just learned that our webserver is set to "DENY", so even with the custom header, it won't work. :frowning:

V/r,

^ _ ^