Promptles
Backend & APIs

HTTP Methods

beginner

Definition

The little verbs that go with every request a browser or app sends to a server. They tell the server what kind of action is happening: GET means 'just give me this thing,' POST means 'create something new,' PUT or PATCH means 'change something,' and DELETE means 'remove it.'

In the wild

Reading a recipe page is a GET: you're just looking. Saving a comment is a POST: you're adding something new. Editing your profile is a PATCH. Removing a saved bookmark is a DELETE. Same protocol, different intentions.

More from Backend & APIs