Skip to content

Instantly share code, notes, and snippets.

@baens
Created January 10, 2018 13:22
Show Gist options
  • Save baens/2239e8055df987729e884cfd71af1346 to your computer and use it in GitHub Desktop.
Save baens/2239e8055df987729e884cfd71af1346 to your computer and use it in GitHub Desktop.
Telnethttp-with-telnet/
HTTP/1.1 200 OK
Connection: close
Server: meinheld/0.6.1
Content-Type: application/json
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
X-Powered-By: Flask
X-Processed-Time: 0.000699043273926
Content-Length: 326
Via: 1.1 vegur
{
"args": {},
"data": "{\"test\":true}\r",
"files": {},
"form": {},
"headers": {
"Connection": "close",
"Content-Length": "14",
"Content-Type": "application/json",
"Host": "httpbin.org"
},
"json": {
"test": true
},
"url": "http://httpbin.org/post"
}
GET /ip HTTP/1.1
Host: httpbin.org
HTTP/1.1 200 OK
Connection: keep-alive
Server: meinheld/0.6.1
Content-Type: application/json
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
X-Powered-By: Flask
X-Processed-Time: 0.000519037246704
Content-Length: 33
Via: 1.1 vegur
{
"origin": "<ip>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment