Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Remove oauth_http.
  • Loading branch information
Tim Fletcher committed Nov 6, 2008
1 parent 02659f9 commit 8cb637feadfb74702c33e6076d2d2712ff2f6b12
Showing 2 changed files with 3 additions and 14 deletions.
@@ -12,7 +12,7 @@ get(URL, Consumer, TokenPair) ->
get(URL, Consumer, TokenPair, []).

get(URL, Consumer, TokenPair, Params) ->
oauth_http:get(oauth_request:url("GET", URL, Params, Consumer, TokenPair)).
http:request(oauth_request:url("GET", URL, Params, Consumer, TokenPair)).

post(URL, Consumer) ->
post(URL, Consumer, {[], []}, []).
@@ -24,4 +24,5 @@ post(URL, Consumer, TokenPair) ->

post(URL, Consumer, TokenPair, Params) ->
Data = oauth_request:params_string("POST", URL, Params, Consumer, TokenPair),
oauth_http:post(URL, Data).
MimeType = "application/x-www-form-urlencoded",
http:request(post, {URL, [], MimeType, Data}, [], []).

This file was deleted.

0 comments on commit 8cb637f

Please sign in to comment.