Hi,
I want to POST some Data from a SmartGWT App on Domain B to a Script on Domain A.
The Script sends the header: Access-Control-Allow-Origin: *
So from what I understand I should be allowed to post to this different domain (Chrome doesn't complain in the console with this header).
Yet SmartGWT cancels the POST and says it cannot contact that host (same origin policy).
Is the access-control-allow-origin header not supported by smartGWT?
My post has the following data protocol: setDataProtocol(DSProtocol.POSTPARAMS);
JSONP is not an option for me.
Thanks
I want to POST some Data from a SmartGWT App on Domain B to a Script on Domain A.
The Script sends the header: Access-Control-Allow-Origin: *
So from what I understand I should be allowed to post to this different domain (Chrome doesn't complain in the console with this header).
Yet SmartGWT cancels the POST and says it cannot contact that host (same origin policy).
Is the access-control-allow-origin header not supported by smartGWT?
My post has the following data protocol: setDataProtocol(DSProtocol.POSTPARAMS);
JSONP is not an option for me.
Thanks
Comment