Hi all,
Im currently building a web interface to use with my vera controller and im facing an issue and hopefully you can shed some light.
Im running a webserver on ip 192.168.1.100:80 (nginx) and the vera controller ip is 192.168.1.50.
whenever I try to do something like
$.getJSON(“http://192.168.1.50/port_3480/data_request?id=status&DeviceNum=6”,function(json){
var vera_obj = json;
console.log(vera_obj);
});
Just to try to grab some info but I always get this error “XMLHttpRequest cannot load http://192.168.1.50/port_3480/data_request?id=status&DeviceNum=6. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.”
Im fairly new to web developing and this is one of my starting projects. What can I do to overcome this?
Thanks,