diff options
| author | linclark | 2014-03-13 18:50:42 -0700 |
|---|---|---|
| committer | Vojta Jina | 2014-03-21 11:42:16 -0700 |
| commit | 9226b3657203ea44d25507370c98d9aee5a3e018 (patch) | |
| tree | 3e0451f9df390671c90c20210512f069126a84ac | |
| parent | 39635fd0d7c21753fe754aa92b3c4352270064da (diff) | |
| download | angular.js-9226b3657203ea44d25507370c98d9aee5a3e018.tar.bz2 | |
docs($http): update shortcut method description
Update docs to reflect that $http no longer requires passing in an HTTP method, as changed in #6401.
| -rw-r--r-- | src/ng/http.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ng/http.js b/src/ng/http.js index c7dc64e2..9fcb4578 100644 --- a/src/ng/http.js +++ b/src/ng/http.js @@ -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); |
