Skip to content

Instantly share code, notes, and snippets.

@filinivan
Created December 1, 2020 21:57
Show Gist options
  • Save filinivan/2aba6cd535131f5e89eaae36d7688f41 to your computer and use it in GitHub Desktop.
Save filinivan/2aba6cd535131f5e89eaae36d7688f41 to your computer and use it in GitHub Desktop.
Thinknetica HTTP
#GET запрос без параметров
ncat -C httpbin.org 80
GET / HTTP/1.1
Host: httpbin.org
#GET запрос с любыми параметрами строки URL
ncat -C httpbin.org 80
GET /string?arg1=25 HTTP/1.1
Host: httpbin.org
#POST запрос с любыми параметрами
ncat -C httpbin.org 80
POST / HTTP/1.1
Host: httpbin.org
Content-Length: 5
one=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment