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

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -