# HyperText Transfer Protocol (HTTP)

> The rules for how a browser asks a server for a page.

**Field:** Infrastructure  
**Category:** Networking  
**Also known as:** HTTP, HTTP/1.1, HTTP/2, HTTP/3

## Think of it like

Think of it like ordering at a counter. You ask the same way each time, and get the same kind of reply.

## Definition

HTTP is the set of rules browsers and servers use to talk on the web. The browser sends a request that names a page and a method, like GET. The server sends back a response with a status code and the page itself. Each request stands alone, so the server does not remember the last one unless told. Plain HTTP is not encrypted, which is why HTTPS exists.

## Example

Emma clicks a link. The browser sends an HTTP request for /menu, and the server answers with the page and the code 200.

## Why it matters

Every web page, image and API call travels over HTTP. Knowing it makes web bugs much easier to read.

## Common mistake

Sending passwords over plain HTTP. Anyone on the network can read them. Use HTTPS.

## Three principles

- **Request and response.** The browser asks, the server answers.
- **Each request alone.** No memory between them.
- **Not encrypted.** HTTPS adds that.

## Related terms

- [HTTP Request](https://learn.benibix.com/term/infrastructure/http-request)
- [HTTP Response](https://learn.benibix.com/term/infrastructure/http-response)
- [HyperText Transfer Protocol Secure (HTTPS)](https://learn.benibix.com/term/infrastructure/https)
- [Web Browser](https://learn.benibix.com/term/general/web-browser)

## Told apart from

- [HTTP vs HTTPS](https://learn.benibix.com/compare/http-vs-https): HTTP and HTTPS follow the same rules for asking for pages. HTTPS sends them over a locked line, so no one in between can read or change them. Plain HTTP can be read by anyone on the path.

## Taught in

- [HTTP Requests and Responses](https://learn.benibix.com/learn/infrastructure-networking/http-requests-and-responses): Computer Networking, 9/13

---

Source: https://learn.benibix.com/term/infrastructure/http
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
