HTTP is used for so many different reasons. While working in the world of point of sale terminals, I spent some time sending raw HTTP packets and parsing them in C. Lot’s of fun!
Here’s a quick little exercise on playing with HTTP, that I found in “Microsoft .NET Framework 2.0 Web-Based Client Development”.
- Open up a command prompt: Start->Run->cmd
- type “telnet”, and press enter
- type “o www.mokhan.ca 80”
- type
GET / HTTP/1.1 Host: www.mokhan.ca - Then press enter twice. But do it quickly, before my server closes the connection due to a timeout!