Skip to content

Instantly share code, notes, and snippets.

@vesh95
Created December 6, 2019 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vesh95/15e760e83022b73d0e3a3767698d269a to your computer and use it in GitHub Desktop.
Save vesh95/15e760e83022b73d0e3a3767698d269a to your computer and use it in GitHub Desktop.
GET /anything HTTP/1.1
Host: httpbin.org
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Content-Type: application/json
Date: Fri, 06 Dec 2019 13:57:33 GMT
Referrer-Policy: no-referrer-when-downgrade
Server: nginx
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Content-Length: 236
Connection: keep-alive
{
"args": {},
"data": "",
"files": {},
"form": {},
"headers": {
"Host": "httpbin.org"
},
"json": null,
"method": "GET",
"origin": "109.248.239.56, 109.248.239.56",
"url": "https://httpbin.org/anything"
}
GET /anything?a=123 HTTP/1.1
Host: httpbin.org
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Content-Type: application/json
Date: Fri, 06 Dec 2019 14:07:40 GMT
Referrer-Policy: no-referrer-when-downgrade
Server: nginx
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Content-Length: 260
Connection: keep-alive
{
"args": {
"a": "123"
},
"data": "",
"files": {},
"form": {},
"headers": {
"Host": "httpbin.org"
},
"json": null,
"method": "GET",
"origin": "109.248.239.56, 109.248.239.56",
"url": "https://httpbin.org/anything?a=123"
}
POST /anything HTTP/1.1
Host: httpbin.org
Content-length: 5
abc=45
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Content-Type: application/json
Date: Fri, 06 Dec 2019 14:11:28 GMT
Referrer-Policy: no-referrer-when-downgrade
Server: nginx
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Content-Length: 270
Connection: keep-alive
{
"args": {},
"data": "abc=4",
"files": {},
"form": {},
"headers": {
"Content-Length": "5",
"Host": "httpbin.org"
},
"json": null,
"method": "POST",
"origin": "109.248.239.56, 109.248.239.56",
"url": "https://httpbin.org/anything"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment