Hypertext transfer protocol provides a way for clients such as web browsers to communicate with web servers. There's quite a bit on the web that's written on the topic, so for the time being we'll just provide some good links for you:
Try the first three chapters of Web Client Programming with Perl. It's an older book, but provides one of the best tutorials on HTTP we've found.