HTTP Request Simply Explained

February 18, 2021

Everybody using internet almost everyday for every purpose for getting, sending, updating, or deleting information. All of that actions used in HTTP, and here they are:

GET

GETĀ method is used for getting information, such as your friend number, all products that ready stock, the shoes that are in black color, etc. This method usually known as Read/Retrieve in CRUD.

POST

POSTĀ method is usually used for sending information. For example saving your new account information, posting image to instagram, tweeting, etc.Ā POSTĀ is represent Create in CRUD.

PUT/PATCH

PUTĀ andĀ PATCHĀ are for Updating the informations that are already stored before. For example when you change your username, you photo, editing your caption, etc. The difference between them is,Ā PUTĀ updates the entire resource whileĀ PATCHĀ applies a partial update to the resource.

DELETE

You guest it,Ā DELETEĀ just like its name is for delete the information, apart from what technique was use for deleting a resource whether its hard delete or soft delete.

That’s all, hope you will understand more about how internet protocols worked. Thanks for reading!

Other posts

šŸ™ŒšŸ¼Share this

I'll only send emails when new article is posted. No spam.