HTTP


HTTP = Hypertext Transfer Protocol

HTTP is a protocol based on TCP/IP. It is stateless, which means every request needs to carry the information needed to fulfil it. This information is carried in the header.
In HTTP, all the requests and responses (including headers) are human-readable.

HTTP/1.1 vs HTTP/2.0

HTTP/2.0 supports multiplexing. This means that multiple requests can be sent at once:

Pasted image 20251201122025.png

HTTP URLs

https://www.domain.com:1234/path/to/resource?a=b&x=y

HTTP Request

Structure

Pasted image 20251201122746.png

HTTP Request Verbs

PUT and DELETE are in theory also just POST requests

HTTP Status Codes

Look here.