LLevelUp
0
← Back to topic

HTTP and HTTPS Lifecycle

HTTP is a request-response protocol. The browser sends a method, path, headers, and sometimes a body. The server returns status, headers, and body.

GET /api/profile HTTP/1.1
Host: example.com
Accept: application/json

HTTPS is HTTP over TLS. TLS encrypts traffic and proves the server owns a valid certificate for the domain.

TIP

Browser Network tab is the fastest place to inspect request headers, response status, timing, and payloads.

Further Learning

  • “HTTP request response anatomy” — protocol basics
  • “HTTP status codes 2xx 3xx 4xx 5xx” — response classes
  • “TLS HTTPS explained” — secure transport