HTTP Requests and Responses Explained: What Happens When a Website Loads
What passes between a browser and a website server? HTTP uses requests and responses to exchange website resources.
1:47 · No narration: the video shows each step as text on screen, and every step is written out below, with buttons that jump the video to it.
Prefer YouTube? Watch this video on our YouTube channel (opens in a new tab).
The six points in the video
This is a silent video. The headings, explanations and labels below reproduce the information on screen.
-
Step 1: The browser makes a request
It asks for a resource identified by an address.
On-screen labels: Browser client; Resource address; Outgoing request.
-
Step 2: The method describes the job
An HTTP method indicates the operation being requested.
On-screen labels: Requested operation; HTTP method; Relevant resource.
-
Step 3: The server sends a response
The reply includes a status and can include content.
On-screen labels: Response status; Response information; Optional content.
-
Step 4: A page uses many resources
The browser may also request images, stylesheets and scripts.
On-screen labels: Page document; Images and styles; Scripts and other files.
-
Step 5: Requests can happen later
An interactive page may fetch more information after its initial load.
On-screen labels: Initial page load; Later interaction; Additional request.
-
Step 6: Inspect the specific exchange
A developer can examine the request and response when diagnosing a fault.
On-screen labels: Resource address; Observed status; Relevant response.
A practical check for your business
Follow a sample request and its response when investigating a web task. Record the method, destination, status and relevant context while keeping private data out of shared troubleshooting notes.
Sources and further detail
Common questions
What passes between a browser and a website server?
HTTP uses requests and responses to exchange website resources. Use the actual request evidence to investigate a loading problem.
Go further
More video tips
All 205 videos →
GET and POST Explained: Two Common HTTP Request Methods
GET and POST, explained.
JSON Explained: A Common Format for Exchanging Website Data
JSON, explained.