Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why HTTP Methods are also called "Verbs"

I've seen that HTTP methods are often called Verbs.
(I understand the correct name is Methods from: https://www.rfc-editor.org/rfc/rfc7231 )

Where did this name come from ?

like image 957
devwebcl Avatar asked Jul 22 '26 10:07

devwebcl


2 Answers

The use of the spelling Method dates back to at least 1996, where it appears in section 5 of RFC 1945. That's in agreement with Basic HTTP as defined in 1992 (which appears to be a retrospective from 96 or 97).

The alternative spelling Verb doesn't appear to have any official sanction. It's probably derived from English speakers picked a name that made sense to them when looking at an example of a request line without being familiar with the spec.

You would, perhaps, expect that the audience looking at representations of HTML forms would have noticed that the spelling of the attribute was METHOD, but the telephone game happened. Such is life.

like image 182
VoiceOfUnreason Avatar answered Jul 25 '26 02:07

VoiceOfUnreason


  • The HTTP verbs comprise a major portion of our “uniform interface” constraint and provide us the action counterpart to the noun-based resource.

  • The primary or most-commonly-used HTTP verbs (or methods, as they are properly called) are POST, GET, PUT, PATCH, and DELETE.

  • These correspond to create, read, update, and delete (or CRUD) operations, respectively. There are a number of other verbs, too, but are utilized less frequently. Of those less-frequent methods, OPTIONS and HEAD are used more often than others.

Reference : http://www.restapitutorial.com/lessons/httpmethods.html

like image 22
Rahul Avatar answered Jul 25 '26 04:07

Rahul



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!