Question 5 of 6 · CIE-2 QB · Set 2 · 2 marks
Open in ChatGPTWhat is HTTP? Mention its role in web-based systems.
HTTP (Hypertext Transfer Protocol) is a request-response application protocol for the web.
- Request: a client sends a method, a URI and headers.
- Response: the server returns a status code, headers and a body.
- Stateless: each request stands alone, so cookies and sessions carry state.
- Role: it moves pages, APIs and most web-service traffic, with HTTPS adding TLS.
- Methods: GET, POST, PUT, DELETE express the operation on a resource.