Learning to be a code alchemist, one experiment at a time.

HTTP Verbs

|

What is a web server?

A piece of software designed to accept incoming web requests

Consider google.com; what does the google web server see when you navigate to google.com?

GET / HTTP/1.1 Host: www.google.com

GET: Its the HTTP Verb / : Its the path HTTP/1.1: HTTP protocol


GET, POST, DELETE, PUT, OPTIONS, HEAD

GET: retrieve some data POST: Receive some data and do something with it PUT: Make sure something exists; if it doesnt, make it DELETE: Remove something