json - Unsupported url in JSONP request -
my web app loads localhost/alpha/ , following error message browser (chrome or safari) when performs jsonp request :
get localhost:5000/iseeyou/webservice/login.php?email=b&pwd=b&callback=ext.data.jsonp.callback1&_dc=1377281924940 unsupported url
i using sencha touch , code :
ext.data.jsonp.request({ url: iseeyou.url+'/iseeyou/webservice/login.php', params:{ email: email, pwd: pwd }, success: function(response){} });
when copy/paste url displayed in error directly in browser works well.
it needed "http://" @ beginning.
Comments
Post a Comment