The Basics of HTTP Request Methods

Victoria Lo
The Startup
Published in
3 min readJun 7, 2020

--

Hello coders! Today’s tutorial is a simple one relating to back-end programming. If you haven’t read it, please refer to my Beginner’s Intro to Back-end Programming for some essential background info.

Okay, so let’s dive into the topic~

Types of HTTP Requests

So if you recall, in my Beginner’s Intro to Back-end Programming, I wrote that a HTTP Request is when a browser makes a request to the server to ask for some information. This is known as a ‘GET’ request.

But sometimes, the request may not be about retrieving info from the server, but also updating information to the server. This is called a ‘PUT’ request. Hence, they are called HTTP Request Methods to specify what type of action the browser wants to do with the server.

A HTTP Request method specifies the desired action the browser wants to do with the server.

So, there’s a GET and PUT. What else?

Here’s a simple and concise list of the common HTTP request methods.

GET: Retrieve and read data from server.

PUT: Update and replace data on the server.

--

--

Victoria Lo
The Startup

A nerd in books, tea and programming. I publish weekly on my personal blog: https://lo-victoria.com/