A web server is a piece of software designed to accept incoming web requests.
- Example of accessing Google.com:
GET / HTTP/1.1
Host: www.google.com
GET = Verb
/ = Path
HTTP/1.1 - Protocol
http://twitter.com/login
GET /login HTTP/1.1
Other verbs / acitivies:
- POST
- DELETE
- PUT
- OPTIONS
- HEAD
- and more
Meaning of the most important verbs:
- GET = Retrieve some data
- POST = Receive data (as input), and use it
- PUT = Make sure that something is there. It might create it or update something
- DELETE = Remove something