liveBook · Manning

HTTP method

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

An HTTP method is a request-message field that specifies the action a client asks a server to perform on a resource.

An HTTP method specifies the action a client requests for a resource. It appears in the request start line alongside the URI and HTTP version. HTTP verbs is a common exam term, although method is more accurate because not every method is a verb. section 23.2.1 section 23.4

Common method-to-CRUD mappings are:

Resource operations

For a variable named ip_address, POST can create the value 10.1.1.1, GET can retrieve it, PUT or PATCH can change it to 10.2.3.4, and DELETE can remove it. These actions correspond to CRUD: Create, Read, Update, and Delete. section 23.2.1

Figure 23.2 An API call in the form of an HTTP request receives a response in the form of an HTTP response. The HTTP request includes an HTTP method and a URI, and the response includes a response code and the relevant data.

Use the request–response diagram to connect the method and URI in a request with the response code and returned data. section 23.2

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains request placement, CRUD mappings, and PUT-versus-PATCH behavior, while noting mappings are not strictly one-to-one.
Examples
Uses an ip_address variable and an API request–response diagram to illustrate resource actions.
What it assumes
Assumes basic application communication and resources, while defining CRUD, HTTP request structure, and method terminology.
What you can do after
Evaluate REST API requests by identifying the method, target URI, intended CRUD action, and likely update semantics.
How it connects
Connects HTTP requests with URIs, CRUD operations, REST APIs, HTTP responses, and response codes.

Also explained in

Compare how 10 books explain HTTP method →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.