📅  最后修改于: 2022-03-11 14:49:41.185000             🧑  作者: Mango
There are lots of ways:
nc www.example.com 80: upside is you have full controll over what you send, downside is you are on your own. Restrict to HTTP 1.0 to minimize the things you need to type GET / HTTP/1.0 followed by an empty line is all you need.
curl http://www.example.com/: good for normal use and debugging. Has lots of options. Especially usefull: --verbose to see the HTTP request/response and --head to send a HEAD request (no body).
openssl s_client -connect www.example.com:443: Useful for debugging HTTPS servers.
wget: good for download and maybe more.
w3m, lynx, links: text-only browser.