Hi,
I have a basic XMLHttpRequest script that works properly on Internet Explorer:
var req = new XMLHttpRequest();
req.open("POST", encodeURI(oDataURI), false);
req.setRequestHeader("Accept", "application/json");
req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
req.setRequestHeader("Access-Control-Allow-Origin", "*");
req.send();
However, my client has requested that this work for other browsers. For some reason the "req.send()" function does not work for Firefox and Chrome. Has anyone experienced this issue/can provide me suggestions?
Thanks in advance.
*This post is locked for comments
I have the same question (0)