From the course: HTTP Essential Training

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

How to see HTTP headers

How to see HTTP headers

- The easiest way to see HTTP headers is through the browser developer tools. As you saw earlier in the course, any time you open a document in the browser you can go to the developer tools, go to the Network tab, and capture the network traffic. And once you've done that, you can inspect the request and response headers for each individual resource. But within the context of the browser, you're relying on the browser to generate your requests. If you need to send custom request headers to a server to test the response, you can do so using a REST client. If you don't know what REST is, or you want to learn more about REST and RESTful APIs, go check out my other course, "Learning REST APIs". Short story, REST, or representational state transfer, is a set of rules that describe how data is transferred and managed between clients and servers. All you need to know here is that the entire web is a giant RESTful API, and you can use a REST client to interface with it. But, I digress. For…

Contents