Skip to content

Instantly share code, notes, and snippets.

@olivier-schmitt
Created March 30, 2013 08:54
Show Gist options
  • Save olivier-schmitt/5275961 to your computer and use it in GitHub Desktop.
Save olivier-schmitt/5275961 to your computer and use it in GitHub Desktop.
AngularJS and URL form encoded : do some post request after configuring HTTP provider behavior.
$http.post("../secure/spot/search", {query: $scope.query}).
success(function(data, status) {
....
}).error(function(data, status) {
...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment