Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
docs($http): update shortcut method description
Browse files Browse the repository at this point in the history
Update docs to reflect that $http no longer requires passing in an HTTP method, as changed in #6401.
  • Loading branch information
linclark authored and vojtajina committed Mar 21, 2014
1 parent 39635fd commit 9226b36
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ng/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,8 @@ function $HttpProvider() {
*
* # Shortcut methods
*
* Since all invocations of the $http service require passing in an HTTP method and URL, and
* POST/PUT requests require request data to be provided as well, shortcut methods
* were created:
* Shortcut methods are also available. All shortcut methods require passing in the URL, and
* request data must be passed in for POST/PUT requests.
*
* ```js
* $http.get('/someUrl').success(successCallback);
Expand Down

0 comments on commit 9226b36

Please sign in to comment.