In Angularjs Can we send data using $http service with method "JSONP"
$http({
method: 'JSONP',
url: 'http://plv.localhost/register?callback=JSON_CALLBACK',
data : { name : 'some name' }
}).success(function(data, status , header, config){
console.log('success');
}).error(function(data, status , header, config){
console.log('error');
});
JSONP. What is the error, etc? You are not giving us much information.