Request Headers

Request Headers allow extra information to be conveyed to the web server about the request. Some common headers are as follows:

Common Request Headers

Request HeaderExampleDescription
HostHost: tryhackme.comSpecifies the name of the web server the request is for.
User-AgentUser-Agent: Mozilla/5.0Shares information about the web browser the request is coming from.
RefererReferer: https://www.google.com/Indicates the URL from which the request came from.
CookieCookie: user_type=student; room=introtowebapplication; room_status=in_progressInformation the web server previously asked the web browser to store is held in cookies.
Content-TypeContent-Type: application/jsonDescribes what type or format of data is in the request.