Browser - User Requests
CHAPTER 3
That's where the DNS ( Domain Name System ) comes in.
The DNS server takes the website name from the browser, finds the matching IP address in its records, and returns it so the browser can connect to the right server.
If you're curious about what a real browser request looks like, you can see it for yourself.
-
Open a browser on your laptop.
-
Search for www.beginnerscribble.com
Right-click anywhere on the page and select Inspect (or press
F12
).-
Go to the Network tab.
-
Refresh the page—you'll see a list of network activities.
Each item in that list represents a request your browser made and the response it received from the server.
If you click on one of them, you'll see detailed information.
- Under the Payload Tab - shows the request / query payloads
- Under the Request Headers section, you'll find key details such as:
These headers show what the browser sent to the server—like the method (GET), the host (domain), and what kind of content it's expecting.
The commonly used methods in HTTP are GET, POST, PUT and DELETE.
Let move on to Chapter 4 >>> to dig more about the servers and responses.
Comments
Post a Comment
Enter you valuable comments