json - How to work with $http.jsonp -


i using below code json data ma getting success ,200 status , repsonse in network tab of browser (developer tools) have put break point going error , ma gettinf 404 status , undefined data can please me in this

var url = 'http://xx.xx.xx.xx:8084/api/users/current/?callback=json_callback';        $http.jsonp(url,{ withcredentials: true})     .success(function(data) {         console.log(data);       })     .error(function(data) {          console.log(data);     }); 


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -