Request Headers are key-value pairs that the client sends to the server with an HTTP request. These headers carry extra details about your request, helping the server understand its context and tailor the response to fit.Documentation Index
Fetch the complete documentation index at: https://docs.hoppscotch.io/llms.txt
Use this file to discover all available pages before exploring further.
Headers Tab
In Hoppscotch, you can easily set and manage request headers using the Headers tab. This tab allows you to definekey-value pairs, and you can also add a description for each header to keep track of its purpose.
Here are a few common headers you might set:
| Header | Description |
|---|---|
| Authorization | Used for passing credentials, such as tokens, to authenticate the client with the server. |
| Content-Type | Indicates the format of the data being sent, like application/json. |
| Accept | Tells the server what media types the client can handle in the response. |
| Cache-Control | Controls caching behavior in both requests and responses. |
| User-Agent | Provides information about the client making the request. |
When the Authorization and Content-Type values are set through their respective sections, the description fields in their auto-generated headers are disabled for manual input, leaving the value empty. In contrast, for Inherited headers, the specified values are automatically populated in the description fields.