Exercise: Looking at a Real HTTP Request
In this lesson, you will be looking at real HTTP messages right from your browser!
Open up the Developer Tools on Your Browser
Have a look at this GIF. We were on Firefox here.
- Navigate to any website. We picked google.com.
- Right-click anywhere.
- Click on ‘inspector tools’ in the drop-down menu.
The process should be similar for other browsers.
Go to the Network Tab
- The network tab should be one of the tabs on the top-bar (or sidebar in some browsers).
- Find it and click on it.
- There may be a chance that your browser hasn’t logged any network calls. In that case, just reload the page.
Click on Any Entry
- You’ll see a bunch of calls. Click on any one of them.
- You’ll see details about the HTTP message including the request headers, the kind of request, and the headers. We encourage you to spend some time exploring this.
An Example of an Entry
Now that we have a clear idea of what HTTP request messages look like, let’s study the response messages in the next lesson.
Get hands-on with 1400+ tech skills courses.