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

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -