Skip to content

Instantly share code, notes, and snippets.

@the-allanc
Created June 17, 2022 00:57
Show Gist options
  • Save the-allanc/fcb9ea8c260050211cb198b198b1798a to your computer and use it in GitHub Desktop.
Save the-allanc/fcb9ea8c260050211cb198b198b1798a to your computer and use it in GitHub Desktop.
interactions:
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.0
method: GET
uri: https://httpbin.org/json
response:
body:
string: "{\n \"slideshow\": {\n \"author\": \"Yours Truly\", \n \"date\":
\"date of publication\", \n \"slides\": [\n {\n \"title\":
\"Wake up to WonderWidgets!\", \n \"type\": \"all\"\n }, \n {\n
\ \"items\": [\n \"Why <em>WonderWidgets</em> are great\",
\n \"Who <em>buys</em> WonderWidgets\"\n ], \n \"title\":
\"Overview\", \n \"type\": \"all\"\n }\n ], \n \"title\":
\"Sample Slide Show\"\n }\n}\n"
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '429'
Content-Type:
- application/json
Date:
- Fri, 17 Jun 2022 00:55:59 GMT
Server:
- gunicorn/19.9.0
status:
code: 200
message: OK
- request:
body: ''
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
host:
- httpbin.org
user-agent:
- python-httpx/0.23.0
method: GET
uri: https://httpbin.org/json
response:
body:
string: "{\n \"slideshow\": {\n \"author\": \"Yours Truly\", \n \"date\":
\"date of publication\", \n \"slides\": [\n {\n \"title\":
\"Wake up to WonderWidgets!\", \n \"type\": \"all\"\n }, \n {\n
\ \"items\": [\n \"Why <em>WonderWidgets</em> are great\",
\n \"Who <em>buys</em> WonderWidgets\"\n ], \n \"title\":
\"Overview\", \n \"type\": \"all\"\n }\n ], \n \"title\":
\"Sample Slide Show\"\n }\n}\n"
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '429'
Content-Type:
- application/json
Date:
- Fri, 17 Jun 2022 00:55:59 GMT
Server:
- gunicorn/19.9.0
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- python-requests/2.28.0
method: GET
uri: https://httpbin.org/gzip
response:
body:
string: !!binary |
H4sIACDRq2IC/z2PMW/DIBCFd/8KxBgFAtR2okgdPERN1yqVuhI4Y6QGKJAhifLfC47k8X333ru7
R4MQNncbAmi8RzleYY0qm0BqiKmwR5EFDEpByEXj1WaFZ9NCycEpr60zdVzb1kjD+CszLMajT3N4
yjmcraM+mmX2nSCSwYCbHeGWJ+9IhL8rpJw2goodZYv5hwyXuyOnKBWQz3o0/vI+v3PSC3nWXDDS
Cja2UvIe1FsHW8aLGkWvcGl4vt67QFkyhz8Op1c39tEa6yrjbU8FY1R0lPMON8/mHy4yh5koAQAA
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Length:
- '228'
Content-Type:
- application/json
Date:
- Fri, 17 Jun 2022 00:56:00 GMT
Server:
- gunicorn/19.9.0
status:
code: 200
message: OK
- request:
body: ''
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
host:
- httpbin.org
user-agent:
- python-httpx/0.23.0
method: GET
uri: https://httpbin.org/gzip
response:
body:
string: "{\n \"gzipped\": true, \n \"headers\": {\n \"Accept\": \"*/*\",
\n \"Accept-Encoding\": \"gzip, deflate\", \n \"Host\": \"httpbin.org\",
\n \"User-Agent\": \"python-httpx/0.23.0\", \n \"X-Amzn-Trace-Id\":
\"Root=1-62abd120-662a4f7a5904d133269f3094\"\n }, \n \"method\": \"GET\",
\n \"origin\": \"146.200.25.115\"\n}\n"
headers:
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Origin:
- '*'
Connection:
- keep-alive
Content-Length:
- '227'
Content-Type:
- application/json
Date:
- Fri, 17 Jun 2022 00:56:00 GMT
Server:
- gunicorn/19.9.0
status:
code: 200
message: OK
version: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment