i have a problem with the SOP. I want to develop a Web-Based-Application witch HTML, JS etc. this App have to run on localhost. I don't want to have a webserver. I have a device in the LAN, which I can't edit or something. On this device is a https rest service. Therefrom i want to get data.
If I want access to the rest service the browser throws an error, which says I cant access to this site because of the SOP.
var xmlHttp = createRequest();
xmlHttp.open("GET", url, false);
xmlHttp.send();
return xmlHttp.responseText;
Thats my code. I hope you can help me.