liveBook · Manning

HTTP response code

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

An HTTP status code is a three-digit numeric code in an HTTP response that indicates the result of the corresponding request.

An HTTP response code is a three-digit number in an HTTP response that indicates whether the corresponding client request is being processed, succeeded, redirected, or failed. It appears in the response start line alongside a short name. section 23.2.2

The first digit identifies the response category:

  • 1xx informational: the request has begun processing and further action may follow. section 23.2.2
  • 2xx successful: the request was understood and processed as expected. section 23.2.2
  • 3xx redirection: additional steps are required to complete the request. section 23.2.2
  • 4xx client error: the request is invalid, infeasible, or unauthorized. section 23.2.2
  • 5xx server error: the server cannot fulfill an otherwise apparently valid request. section 23.2.2

Creating an ACL rule

A client sends a POST request to an SDN controller to create an ACL rule. After creating it, the server returns 201 Created, confirming that the request succeeded and a new resource was created. section 23.2.2

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

How deep it goes
Defines five categories and common codes, but does not detail every code or implementation mechanism.
Examples
Uses ACL-rule creation with POST and 201 Created, plus examples including 200, 301, 403, 404, and 500.
What it assumes
Assumes HTTP request-and-response exchanges while defining response categories and codes directly.
What you can do after
Evaluate HTTP request results by interpreting the response code and its category.
How it connects
Connects HTTP methods, URIs, REST APIs, CRUD operations, and client-server architecture.

Also explained in

Compare how 11 books explain HTTP response code →

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.