liveBook · Manning

HTTP response code

An HTTP status code is a standardized three-digit value in an HTTP response that indicates the outcome of processing the corresponding request.

How 11 Manning books explain it

Learn Go with Pocket-Sized Projects

An HTTP status code is a standardized numeric response indicator describing the result of an HTTP request.

How it is used
Guides whether an HTTP client parses a response and what result a service handler sends.
How deep it goes
Defines five status classes and works through client classification, handler write order, and tests without cataloguing every code.
Examples
Uses an exchange-rate client, a POST /games handler, curl output, and a response-recorder assertion.
What you can do after
Apply it via Go net/http to classify responses, set handler statuses before writing bodies, and assert codes in tests.

Read how Learn Go with Pocket-Sized Projects explains HTTP response code →

ASP.NET Core in Action, 3e

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

How it is used
Uses response codes to communicate request outcomes to browsers and API clients.
How deep it goes
Defines five code classes and works through response helpers, while directing readers to RFC 9110 for the full standardized list.
Examples
Shows missing static files returning 404 and minimal API handlers choosing 200, 201, 400, or 404.
What you can do after
Apply it via ASP.NET Core Results and TypedResults to return codes that match common API outcomes.

Read how ASP.NET Core in Action, 3e explains HTTP response code →

The Design of Web APIs, Second Edition

An HTTP status code is a numeric code in an HTTP response that indicates the result of processing a request.

How it is used
Maps REST operation outputs to standardized success and error signals in HTTP responses.
How deep it goes
Explains status classes, selection criteria, common operation recipes, response placement, and OpenAPI description.
Examples
Uses product creation, catalog search, reads, updates, deletions, missing resources, and server failures.
What you can do after
Apply it via HTTP and OpenAPI to choose interoperable responses for successful, invalid, missing, and failed operations.

Read how The Design of Web APIs, Second Edition explains HTTP response code →

Build Financial Software with Generative AI (From Scratch)

An HTTP status code is a numeric response indicator that communicates the outcome of an HTTP request.

How it is used
Uses HTTP response codes to verify API endpoint reachability during Postman and automated tests.
How deep it goes
Defines successful 200 responses and demonstrates assertions, but stops short of covering other status-code classes.
Examples
Uses /files and /api/v1/companies requests with Postman and Python endpoint-test assertions.
What you can do after
Diagnose endpoint connectivity by asserting a 200 response in Postman or an automated API test.

Read how Build Financial Software with Generative AI (From Scratch) explains HTTP response code →

Spring in Action, Sixth Edition

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

How it is used
Communicates the outcome of REST requests so clients can distinguish successful retrieval, creation, deletion, and missing resources.
How deep it goes
Shows controller-level status selection with ResponseEntity and @ResponseStatus, without detailing HTTP protocol internals.
Examples
Contrasts a missing taco's misleading 200 with 404, then uses 201 for taco creation and 204 for order deletion.
What you can do after
Apply it via Spring MVC to return accurate statuses for resource lookup, creation, and deletion.

Read how Spring in Action, Sixth Edition explains HTTP response code →

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.

How it is used
Communicates the result of an HTTP request during REST API client-server exchanges.
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 you can do after
Evaluate HTTP request results by interpreting the response code and its category.

Read how Acing the CCNA Exam: Volume 2 Advanced Networking and Security explains HTTP response code →

Contract Testing in Action

An HTTP status code is a numeric code in an HTTP response indicating the result of processing a request.

How it is used
Defines API response expectations within consumer-driven contract scenarios and migration from integration tests.
How deep it goes
Explains concrete response-code expectations and contract assertions, but does not detail HTTP status-code categories or protocol internals.
Examples
Uses movie retrieval, creation, duplication, deletion, Supertest assertions, and Pact interactions as concrete examples.
What you can do after
Apply it via Pact to specify and verify API response-code expectations across consumer and provider tests.

Read how Contract Testing in Action explains HTTP response code →

Go in Practice, Second Edition

An HTTP status code is a three-digit code in an HTTP response indicating the outcome of processing a request.

How it is used
Communicates request outcomes between HTTP servers and clients, especially for errors, authentication, retries, and custom API responses.
How deep it goes
Descends from status ranges to Go constants, response inspection, MIME checks, and custom errors, but leaves retry implementation incomplete.
Examples
Uses Go handlers, curl requests, status inspection, range classification, and custom JSON error conversion.
What you can do after
Diagnose/debug HTTP failures by classifying response codes, checking content types, authenticating, retrying selectively, and returning structured Go errors.

Read how Go in Practice, Second Edition explains HTTP response code →

gRPC Microservices in Go

A gRPC status code is a predefined code that identifies the outcome or error condition of an RPC.

How it is used
Guides interservice error handling and determines client actions such as retrying, timing out, or opening a circuit.
How deep it goes
Defines common gRPC codes and demonstrates structured validation errors, but does not detail the complete status-code catalog.
Examples
Uses order creation, invalid identifiers, quotas, missing orders, duplicate users, and Go field-violation handling.
What you can do after
Diagnose/debug with gRPC by classifying failures, reading structured validation details, and selecting appropriate resilience actions.

Read how gRPC Microservices in Go explains HTTP response code →

The Well-Grounded Python Developer: How the pros use Python and Flask

An HTTP status code is a numeric response code indicating the outcome of an HTTP request.

How it is used
Uses response codes to verify that a browser request reached a running web application and was processed successfully.
How deep it goes
Defines the code and explains 200 as “OK,” without cataloging other response-code categories.
Examples
Uses a browser request to a local Flask route, a “Hello World!” response, and a terminal log ending in 200.
What you can do after
Evaluate whether a local Flask request was handled successfully by reading the browser result and server log.

Read how The Well-Grounded Python Developer: How the pros use Python and Flask explains HTTP response code →

.NET in Action, Second Edition

An HTTP status code is a three-digit response code indicating the outcome of an HTTP request.

How it is used
Controls endpoint outcomes when successful operations or invalid request options require different HTTP responses.
How deep it goes
Explains default 200 responses, conditional 404 responses, built-in ActionResults, and file responses without detailing the full MVC pattern.
Examples
Uses ASCII-art font validation for 404 handling and barcode generation for JPEG file responses.
What you can do after
Apply it via ASP.NET Core Results to return success, not-found, content, or file responses from minimal API endpoints.

Read how .NET in Action, Second Edition explains HTTP response code →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.