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

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -