Skip to content

Instantly share code, notes, and snippets.

@gmilby
Created November 18, 2013 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmilby/7535803 to your computer and use it in GitHub Desktop.
Save gmilby/7535803 to your computer and use it in GitHub Desktop.
$http.post("http://example.appspot.com/rest/app", {"foo":"bar"})
.success(function(data, status, headers, config) {
$scope.data = data;
}).error(function(data, status, headers, config) {
$scope.status = status;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment