Let's talk HTTP methods

HTTP: Hypertext Transfer Protocol. It is the protocol of the internet, the one on which internet runs.

It is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. It is the foundation of data communication for the World Wide Web, where hypertext documents include hyperlinks to other resources that the user can easily access.

METHODS

Just as in Real World, we've people performing ACTIONS, be it walking, standing, running etc. In HTTP, we call these 'Actions' as 'METHODS'. There are 8 types of it:

Of which, the main are: GET, POST PUT, DELETE.
Just as we have some purspose for every 'action' in life, there is purpose for every 'method' as well, for the above methods they're acronymed as CRUD: We use 'Methods' for these purposes:

Now what are the types, that is the question?

Now, as the user or client fetch data regulary, when the data is fetched and it does not affect the content on the server side or the real-time data is not changing, these methods are called SAFE METHODS, include: GET.
And vice-versa when something is fetched it changes the content on the server, they are called UNSAFE METHODS, include: POST, PUT and DELETE.

Then there is also something called IDEMPOTENT.
A HTTP method is idempotent if an identical request can be made once or several times in a row with the same effect while leaving the server in the same state. In other words, an idempotent method should not have any side-effects.
All safe methods are also idempotent, but not all idempotent methods are safe. For example, PUT and DELETE are both idempotent but unsafe.