Show in graph
NET

Software → Computer Networks

HTTP

An application-layer protocol for transferring hypertext and API messages on the web.

Where it fits

HTTP is the application-layer protocol that powers the Web and many APIs. It sits above TCP/TLS and below higher-level styles such as REST, browser applications, and API platforms.

Mental model

HTTP is a request/response conversation. A client sends a method, URL, headers, and optional body; a server responds with a status code, headers, and optional body.

Example

GET /orders/123 asks for a representation of one order. POST /orders asks the server to create or process a new order request.

Common mistakes

  • Using POST for every operation.
  • Ignoring status codes and cache headers.
  • Confusing HTTP with REST.
  • Assuming HTTP itself is encrypted; encryption comes from HTTPS/TLS.

HTTPS, HTTP methods, status codes, REST, API, client-server architecture.