I'm attempting to build a jQuery mobile application locally that connect to my website via XMLHttpRequest/XCRF/JSON. When attempting to connect to my website I get the following error:
XMLHttpRequest cannot load http://wwws.mydomain.com/rest/system/connect.
A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true.
Origin 'http://localhost' is therefore not allowed access.
I'm enabled CORS on my webserver (mydomain.com) per CORS documentation:
Header always set Access-Control-Allow-Origin "*"
How can I test my webservice from outside of my website? When this is converted to an Android app will I have similar problems?