URL handling and operations
In this section, we will explore the operations that are required when handling URLs. In the browser, we input a URL as a request and receive an output or a response, but plenty of operations take place behind the scenes, and we can view these operations using browser-based DevTools.
We mentioned DevTools in the Developer tools section in Chapter 1, when we discussed the role of certain panels, such as the Network panel, found in DevTools. As we are diving deep into using libraries for HTTP-based communication and creating or dealing with code, it is quite important to deal with or monitor the HTTP information found in the Network panel while accessing the URL in the browser.
The information found in the different sections of the Network panel, such as Request URL, Request Headers, Request Method, Response Headers, Status Code, and Cookies, are important in the sense that we as developers are trying to automate, verify, inject, or use that information...