HTTP request and URL
An article how to moniter HTTP request in browser
----------------------------
Let's open TechnoCart in a separate incognito window.
Then click ctrl + shift + i .
Inspect window will appear.
Then in that window , click the network tab.
Then refresh the web page again.
As per the below image, we can see a lot of request and responses. we click each and every thing one by one, we can analyze the content of header, payload, response everything.
Behind the scene
--------------------------
When we enter a website URL, the browser creates an HTTP request for the HTML of the page, on our behalf, and sends it to the server on which the website is hosted.
The HTTP response from the server is read by the browser and rendered for us beautifully as web pages instead of the raw HTML returned.
Let's crack each tab ...
Header :
An HTTP header is a field of an HTTP request or response that passes additional context and metadata about the request or response. For example, a request message can use headers to indicate it's preferred media formats, while a response can use header to indicate the media format of the returned body.
Click to get brief idea about, HTTP request and response headers.
>> Each of the images, CSS file, JavaScript file or any other resource the website uses in addition to the HTML file requires an HTTP request each
Comments
Post a Comment