What are GET, PUT, POST, and DELETE?
Trust us. You're going to see GET, PUT, POST, and DELETE throughout our (and all) APIs and API documentation. What in the world do these things mean?
GET, PUT, POST, and DELETE are the five most common HTTP methods for retrieving from and sending data to a server. They are also referred to as operation objects (methods). Pretty simple, huh?
Let's now break these methods down a bit further:
-
GET: Retrieves data from the server and is a read-only method.
-
PUT: Updates (or creates) within an existing resource.
-
POST: Sends data to the server and creates a new resource.
-
DELETE: Deletes (just like it sounds) a resource.