Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tidying up a method comment

  • Loading branch information...
commit 85805b6b1b51b23c8aaf1f015b394a3e7ec1c024 1 parent aca047e
@ciaranj authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 lib/oauth.js
View
9 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" ){
Please sign in to comment.
Something went wrong with that request. Please try again.