From cd49876e34a9281f141526437c68f733b465d0cf Mon Sep 17 00:00:00 2001 From: linclark Date: Thu, 13 Mar 2014 18:50:42 -0700 Subject: docs($http): update shortcut method description Update docs to reflect that $http no longer requires passing in an HTTP method, as changed in #6401. --- src/ng/http.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3