Web & HTTPNot Started
HTTP Basics
How browsers and servers communicate — request/response cycle
0%
Knowledge Debt detected
You can study this freely — but your score may plateau if these foundations have gaps. The Mastery badge requires them to be solid.
Explanation
HTTP (HyperText Transfer Protocol) is how clients (browsers, apps) communicate with servers.
Request-Response cycle:
- 1. Client sends a request (URL + method + headers + optional body)
- 2. Server processes it and sends a response (status code + headers + body)
URL anatomy: https://api.example.com:443/users/42?format=json - Protocol: https - Host: api.example.com - Port: 443 - Path: /users/42 - Query string: ?format=json
HTTP is stateless — each request is independent.
Examples
HTTP request structure
A typical HTTP GET request
GET /users/42 HTTP/1.1
Host: api.example.com
Accept: application/json
Authorization: Bearer eyJ...Next in Web & HTTP
HTTP Methods