Angularjs

How To Pass Params With AngularJS $http.get Request

Posted by Weston Ganger on June 28, 2016

If you need to add params to your $http.get request in AngularJS simply use the following syntax:


$http.get("/users", {
  params: {
    search: "phillip"
  }
})


Related External Links:


Posted in Angular and Tagged with angularjs $http 


Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts