Headers
The Headers tab lets you add, enable, disable, and remove HTTP request headers.
Adding Headers
Section titled “Adding Headers”- Go to the Headers tab
- Click Add to insert a new row
- Enter the header key (e.g.
Content-Type) and value (e.g.application/json) - Toggle the checkbox to enable or disable the header
Common Headers
Section titled “Common Headers”| Header | Example Value | Purpose |
|---|---|---|
Content-Type | application/json | Indicates request body format |
Authorization | Bearer {{token}} | Authentication |
Accept | application/json | Expected response format |
X-API-Key | {{api_key}} | Custom API key |
Environment Variables
Section titled “Environment Variables”Use {{variable_name}} in header values. Flamingo resolves them using the active environment before sending.
Example
Section titled “Example”// Active environment: Production// token = prod-jwt-token-abc123//// Headers:// Authorization = Bearer {{token}}// Content-Type = application/json// X-Debug = true (disabled - not sent)//// Sent headers:// Authorization: Bearer prod-jwt-token-abc123// Content-Type: application/json