@@ -16,11 +16,11 @@ For example:
1616
1717.. code-block :: bash
1818
19- $ hyper GET https://nghttp2 .org/httpbin /get
19+ $ hyper GET https://http2bin .org/get
2020 {' args' : {},
21- ' headers' : {' Connection' : ' close' , ' Host' : ' httpbin ' , ' Via' : ' 2.0 nghttpx' },
21+ ' headers' : {' Connection' : ' close' , ' Host' : ' http2bin.org ' , ' Via' : ' 2.0 nghttpx' },
2222 ' origin' : ' 81.129.184.72' ,
23- ' url' : ' https://httpbin /get' }
23+ ' url' : ' https://http2bin.org /get' }
2424
2525 This allows making basic queries to confirm that ``hyper `` is functioning
2626correctly, or to perform very basic interop testing with other services.
@@ -33,31 +33,31 @@ add extra headers by passing them as colon-separated data:
3333
3434.. code-block :: bash
3535
36- $ hyper GET https://nghttp2 .org/httpbin /get User-Agent:hyper/0.2.0 X-Totally-Real-Header:someval
36+ $ hyper GET https://http2bin .org/get User-Agent:hyper/0.2.0 X-Totally-Real-Header:someval
3737 {' args' : {},
3838 ' headers' : {' Connection' : ' close' ,
39- ' Host' : ' httpbin ' ,
39+ ' Host' : ' http2bin.org ' ,
4040 ' User-Agent' : ' hyper/0.2.0' ,
4141 ' Via' : ' 2.0 nghttpx' ,
4242 ' X-Totally-Real-Header' : ' someval' },
4343 ' origin' : ' 81.129.184.72' ,
44- ' url' : ' https://httpbin /get' }
44+ ' url' : ' https://http2bin.org /get' }
4545
4646 You can add query-string parameters:
4747
4848.. code-block :: bash
4949
50- $ hyper GET https://nghttp2 .org/httpbin /get search==hyper
50+ $ hyper GET https://http2bin .org/get search==hyper
5151 {' args' : {' search' : ' hyper' },
52- ' headers' : {' Connection' : ' close' , ' Host' : ' httpbin ' , ' Via' : ' 2.0 nghttpx' },
52+ ' headers' : {' Connection' : ' close' , ' Host' : ' http2bin.org ' , ' Via' : ' 2.0 nghttpx' },
5353 ' origin' : ' 81.129.184.72' ,
54- ' url' : ' https://httpbin /get?search=hyper' }
54+ ' url' : ' https://http2bin.org /get?search=hyper' }
5555
5656 And you can upload JSON objects:
5757
5858.. code-block :: bash
5959
60- $ hyper POST https://nghttp2 .org/httpbin /post name=Hyper language=Python description=' CLI HTTP client'
60+ $ hyper POST https://http2bin .org/post name=Hyper language=Python description=' CLI HTTP client'
6161 {' args' : {},
6262 ' data' : ' {"name": "Hyper", "description": "CLI HTTP client", "language": '
6363 ' "Python"}' ,
@@ -66,13 +66,13 @@ And you can upload JSON objects:
6666 ' headers' : {' Connection' : ' close' ,
6767 ' Content-Length' : ' 73' ,
6868 ' Content-Type' : ' application/json; charset=utf-8' ,
69- ' Host' : ' httpbin ' ,
69+ ' Host' : ' http2bin.org ' ,
7070 ' Via' : ' 2.0 nghttpx' },
7171 ' json' : {' description' : ' CLI HTTP client' ,
7272 ' language' : ' Python' ,
7373 ' name' : ' Hyper' },
7474 ' origin' : ' 81.129.184.72' ,
75- ' url' : ' https://httpbin /post' }
75+ ' url' : ' https://http2bin.org /post' }
7676
7777 Debugging and Detail
7878--------------------
0 commit comments