Skip to content

Instantly share code, notes, and snippets.

@Captain1965
Last active February 27, 2022 14:19
Show Gist options
  • Save Captain1965/4d1cbdfd30caa45fd8b7522d87b28d40 to your computer and use it in GitHub Desktop.
Save Captain1965/4d1cbdfd30caa45fd8b7522d87b28d40 to your computer and use it in GitHub Desktop.
GET with puth
sony@sony-SVS1513X9RB:~$ nc -C httpbin.org 80
GET /anything?params=123 HTTP/1.1
Host: httpbin.org
HTTP/1.1 200 OK
Date: Sun, 27 Feb 2022 14:17:25 GMT
Content-Type: application/json
Content-Length: 319
Connection: keep-alive
Server: gunicorn/19.9.0
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
{
"args": {
"params": "123"
},
"data": "",
"files": {},
"form": {},
"headers": {
"Host": "httpbin.org",
"X-Amzn-Trace-Id": "Root=1-621b87f5-63a2613038f3f3a61f2ffca9"
},
"json": null,
"method": "GET",
"origin": "46.53.249.53",
"url": "http://httpbin.org/anything?params=123"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment