summaryrefslogtreecommitdiff
path: root/src/erlang-oauth/oauth_http.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/erlang-oauth/oauth_http.erl')
-rw-r--r--src/erlang-oauth/oauth_http.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/erlang-oauth/oauth_http.erl b/src/erlang-oauth/oauth_http.erl
index bf5a4bac..92c806cc 100644
--- a/src/erlang-oauth/oauth_http.erl
+++ b/src/erlang-oauth/oauth_http.erl
@@ -10,7 +10,7 @@ post(URL, Data) ->
request(post, {URL, [], "application/x-www-form-urlencoded", Data}).
request(Method, Request) ->
- http:request(Method, Request, [{autoredirect, false}], []).
+ httpc:request(Method, Request, [{autoredirect, false}], []).
response_params(Response) ->
oauth_uri:params_from_string(response_body(Response)).