From 85805b6b1b51b23c8aaf1f015b394a3e7ec1c024 Mon Sep 17 00:00:00 2001 From: ciaranj Date: Wed, 17 Aug 2011 09:02:03 +0100 Subject: [PATCH] Tidying up a method comment --- lib/oauth.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/oauth.js b/lib/oauth.js index 65e91cf8..6283b1ed 100644 --- a/lib/oauth.js +++ b/lib/oauth.js @@ -485,14 +485,17 @@ exports.OAuth.prototype.post= function(url, oauth_token, oauth_token_secret, pos * * function(err, token, token_secret, parsedQueryString) {} * - * This method has optional parameters so can be called in the following 3 ways: + * This method has optional parameters so can be called in the following 2 ways: * - * 1) Primary use case: Does a basic request with no extra parameters, using a POST + * 1) Primary use case: Does a basic request with no extra parameters * getOAuthRequestToken( callbackFunction ) * - * 2) As above but allows for provision of extra parameters to be sent as part of the query to the server (POST). + * 2) As above but allows for provision of extra parameters to be sent as part of the query to the server. * getOAuthRequestToken( extraParams, callbackFunction ) * + * N.B. This method will HTTP POST verbs by default, if you wish to override this behaviour you will + * need to provide a requestTokenHttpMethod option when creating the client. + * **/ exports.OAuth.prototype.getOAuthRequestToken= function( extraParams, callback ) { if( typeof extraParams == "function" ){