Created
September 30, 2019 18:19
-
-
Save fatwebdev/8a072d2dc83e2d63f7de65dc2aa6ddcc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ncat -C httpbin.org 80 | |
GET /get 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: Mon, 30 Sep 2019 18:12:01 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: 146 | |
Connection: keep-alive | |
{ | |
"args": {}, | |
"headers": { | |
"Host": "httpbin.org" | |
}, | |
"origin": "130.255.12.11, 130.255.12.11", | |
"url": "https://httpbin.org/get" | |
} | |
GET /get?msg=hi 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: Mon, 30 Sep 2019 18:12:51 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: 172 | |
Connection: keep-alive | |
{ | |
"args": { | |
"msg": "hi" | |
}, | |
"headers": { | |
"Host": "httpbin.org" | |
}, | |
"origin": "130.255.12.11, 130.255.12.11", | |
"url": "https://httpbin.org/get?msg=hi" | |
} | |
POST /post HTTP/1.1 | |
Host: httpbin.org | |
Content-Length: 10 | |
1234567890 | |
HTTP/1.1 200 OK | |
Access-Control-Allow-Credentials: true | |
Access-Control-Allow-Origin: * | |
Content-Type: application/json | |
Date: Mon, 30 Sep 2019 18:14:30 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: 255 | |
Connection: keep-alive | |
{ | |
"args": {}, | |
"data": "1234567890", | |
"files": {}, | |
"form": {}, | |
"headers": { | |
"Content-Length": "10", | |
"Host": "httpbin.org" | |
}, | |
"json": 1234567890, | |
"origin": "130.255.12.11, 130.255.12.11", | |
"url": "https://httpbin.org/post" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment