Yes, I agree.
As @Jermfire , how does one request an XML from an URL which is hosted on a server? Like many, I have not been able to find a clear solution to this, most tutorials only demonstrate through project file import.
Magistross wrote:Access-Control-Allow-Origin is a response header, it's the server that allows it or not. You can't as a mere client tell the server to allow for cross-domain request, that would entirely defeats the purpose of cross-domain policy.
The only solution is to have access to server configuration, and add that custom header there.
What does "it" refer to, the server, the request, the AJAX plugin ? It seems to assume you know what a response header is and where it should be configured.TFM wrote:If you want AJAX requests to your server to work from any domain, or in preview, you can configure it to send the following HTTP header
Users browsing this forum: No registered users and 20 guests