The 5 Most Important HTTP Headers

That you will need to recognize as a web developer to communicate fluently with a remote API.

Alex Zito
4 min readJun 20, 2021

For most web developers, a large part of your job will be building pages that interact with and respond to, APIs that are located on a remote server. The more you know about the HTTP protocol, the better you will be able to utilize these API interfaces.

HTTP Headers are key value pairs that let the client (your web application) pass additional information back to the server, and accept the same type of date from the server. This information can be thought of as ‘meta’ information about the request — it does not generally pertain to the payload itself (the body of the request or response) but adds information about the request like it’s source or the authorization of the client request.

Example of HTTP headers in Chrome dev tools

For that reason, there are a number of essential HTTP Headers that you should be familiar with — these will absolutely be important to understand as you get deeper into web development, the question is when you will learn them, not if.

There are some headers that are more commonly seen as responses from the server, called server-side headers, and some that are more commonly sent by the client. I will try to make it clear which type each of these headers is in the list below.

--

--

Alex Zito

Software Developer + Product Manager. Interested in Travel, Culture, Economics and the Internet. Join Medium: https://tinycode.medium.com/membership