diff --git a/examples/test_async.erl b/examples/test_async.erl index 42ce6d30..265603af 100755 --- a/examples/test_async.erl +++ b/examples/test_async.erl @@ -29,7 +29,7 @@ loop(Ref) -> main(_) -> application:ensure_all_started(hackney), - Url = <<"https://friendpaste.com/_all_languages">>, + Url = <<"https://httparrot.herokuapp.com/get">>, Opts = [async], {ok, Ref} = hackney:get(Url, [], <<>>, Opts), loop(Ref). diff --git a/examples/test_async_once.erl b/examples/test_async_once.erl index 1c046ce6..25e2137b 100755 --- a/examples/test_async_once.erl +++ b/examples/test_async_once.erl @@ -29,7 +29,7 @@ main(_) -> application:ensure_all_started(hackney), - Url = <<"https://friendpaste.com/_all_languages">>, + Url = <<"https://httparrot.herokuapp.com/get">>, Opts = [{async, once}], {ok, Ref} = hackney:get(Url, [], <<>>, Opts), io:format("received once~n", []), diff --git a/examples/test_async_once2.erl b/examples/test_async_once2.erl index e6fdd67b..a22a8446 100755 --- a/examples/test_async_once2.erl +++ b/examples/test_async_once2.erl @@ -30,7 +30,7 @@ loop(Ref) -> main(_) -> application:ensure_all_started(hackney), - Url = <<"https://friendpaste.com/_all_languages">>, + Url = <<"https://httparrot.herokuapp.com/get">>, Opts = [{async, once}], {ok, Ref} = hackney:get(Url, [], <<>>, Opts), io:format("received once~n", []), diff --git a/examples/test_multiple.erl b/examples/test_multiple.erl index 03bc74c7..c7b2bc7c 100755 --- a/examples/test_multiple.erl +++ b/examples/test_multiple.erl @@ -12,7 +12,7 @@ wait_request() -> request(WaitPid) -> wait_request(), Method = get, - Url = <<"https://friendpaste.com">>, + Url = <<"https://httparrot.herokuapp.com/get">>, Headers = [{<<"Connection">>, <<"keep-alive">>}], Options = [{pool, default}], {ok, _, _Headers, Ref} = hackney:request(Method, Url, Headers, <<>>, Options), diff --git a/examples/test_multiple_async.erl b/examples/test_multiple_async.erl index f225d649..b5a17376 100755 --- a/examples/test_multiple_async.erl +++ b/examples/test_multiple_async.erl @@ -25,7 +25,7 @@ wait_request() -> request(WaitPid) -> wait_request(), - Url = <<"https://friendpaste.com/_all_languages">>, + Url = <<"https://httparrot.herokuapp.com/get">>, Opts = [async], {ok, Ref} = hackney:get(Url, [], <<>>, Opts), loop(Ref, WaitPid). diff --git a/examples/test_multiple_proxy.erl b/examples/test_multiple_proxy.erl index 6d41a2eb..764b0df7 100755 --- a/examples/test_multiple_proxy.erl +++ b/examples/test_multiple_proxy.erl @@ -16,7 +16,7 @@ wait_request() -> request(WaitPid) -> wait_request(), Method = get, - Url = <<"https://friendpaste.com">>, + Url = <<"https://httparrot.herokuapp.com/get">>, Headers = [{<<"Connection">>, <<"keep-alive">>}], Options = [{pool, default}, {proxy, ?PROXY_OPTS}], {ok, _, _Headers, Ref} = hackney:request(Method, Url, Headers, <<>>, Options), diff --git a/examples/test_streamto.erl b/examples/test_streamto.erl index a5d923bd..6fa70ded 100755 --- a/examples/test_streamto.erl +++ b/examples/test_streamto.erl @@ -30,7 +30,7 @@ main(_) -> application:ensure_all_started(hackney), Self = self(), Pid = spawn(fun() -> wait_response(Self) end), - Url = <<"https://friendpaste.com/_all_languages">>, + Url = <<"https://httparrot.herokuapp.com/get">>, Opts = [async, {stream_to, Pid}], {ok, Ref} = hackney:get(Url, [], <<>>, Opts), receive