AngularJS $http service -
i call $http services in angularjs fetch json a
networkerror: 500 internal server error
this code i'm using:
app.controller('activeusercontroller', function($scope,$http) { $http({ method: "get", url: /url, success: function (response) { }, failure: function (response) { alert(response.d); }}); }
i recommend you check api method.
Comments
Post a Comment