GET https://httpbin.org/get
POST https://httpbin.org/post
X-API-KEY: 1
run the second http, the response is:
POST https://httpbin.org/post
HTTP/1.1 200 OK
HTTP/2 200
date: Thu, 19 Aug 2021 06:14:33 GMT
content-type: application/json
content-length: 550
server: gunicorn/19.9.0
access-control-allow-origin: *
access-control-allow-credentials: true
{
"args": {},
"data": "",
"files": {},
"form": {
"GET https://httpbin.org/getPOST https://httpbin.org/postX-API-KEY: 1": ""
},
"headers": {
"Accept": "*/*",
"Accept-Encoding": "deflate, gzip",
"Content-Length": "68",
"Content-Type": "application/x-www-form-urlencoded",
"Host": "httpbin.org",
"User-Agent": "curl/7.64.1",
"X-Amzn-Trace-Id": "Root=1-611df6c9-77835905478000061b24e381",
"X-Api-Key": "1"
},
"json": null,
"origin": "42.3.18.110",
"url": "https://httpbin.org/post"
}
run the second http, the response is: