Hi,
trying to add CORS, to the Server (using RestEasy), I did this:
(and some more variations.... (e.g. see the comment out "Access-Control-Allow-Origin", where I am returing the EXACT Origin))
Here is a JavaScript sample:
Just click on the "Register a device" button, and see the errors in the console....
So, I am always (with the above jsFiddle) getting:
regardless if I use "*" or "
http://fiddle.jshell.net" (explicit Origin), on the "Access-Control-Allow-Origin". I always thought that "*" is a wildcard.... allowing everybody and their mother to access the server.
BTW.
This happens with jQuery _and_ vanilla.js (XHR)..... So....... I am really overasked, but ... is it possible that the response is correct (at least the setup / my src), but that RestEasy has any problems with that stuff ??
A few more eyes are highly appreciated on this "issue".
thanks!!
Matthias