HTTP Verbs in 60 seconds


Reads data. If the URL ends in /:id, it retrieves one instance of that data.

0Photo by Yuki Dog on Unsplash


Creates new data. Since you’re sending data, it needs to have headers and a body with that data.


Updates a specific record; if you try to update a record that doesn’t exist, it creates it.


Like PUT, but instead of creating a new record if it doesn’t exist, you get back an error message.


Photo by Matt Artz on Unsplash


Like GET, but you only get back headers (e.g. status 200 “ok”).


Returns header with all the options or methods allowed at that endpoint (e.g. PUT, GET, DELETE, CORS, etc.)



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store