Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Use correct HTTP method in oauth:post/5.
  • Loading branch information
Tim Fletcher committed Jan 26, 2009
1 parent 30afb44 commit f1738b99e734fcefa6a9997c73136d861436174e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -8,7 +8,7 @@ get(URL, ExtraParams, Consumer, Token, TokenSecret) ->
oauth_http:get(uri(URL, SignedParams)).

post(URL, ExtraParams, Consumer, Token, TokenSecret) ->
SignedParams = signed_params("GET", URL, ExtraParams, Consumer, Token, TokenSecret),
SignedParams = signed_params("POST", URL, ExtraParams, Consumer, Token, TokenSecret),
oauth_http:post(URL, oauth_uri:params_to_string(SignedParams)).

token(Params) ->

0 comments on commit f1738b9

Please sign in to comment.