HTTP headers are used by clients and servers to pass additional information to each other.
When the client exchanges information with the server, there is a need to explicitly specify the format of this data as well. HTTP headers are used to specify this meta information. HTTP headers are broadly classified into the following four categories:
Here, we are more focused on understanding request headers.
Following are some important HTTP headers:
To know more HTTP headers – HTTP | MDN (mozilla.org)