Performing a HTTP/1.1 query using telnet

If you are planning to test a remote or local web server running on 80 port it could be easily done by using telnet command from the linux shell or windows command line.

telnet www.yahoo.com 80
GET / HTTP/1.1
Host: www.yahoo.com

and hit enter two times and voila :)


Leave a Reply