Command Type
Command Type ID: 16Parameters
Usage Examples
Set Authorization Header
Override Referer and Accept
Related Commands
- Web Request - Listen to network request events
- Fetch Web Request - Make fetch requests from browser context
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Modify HTTP headers for outgoing network requests in the browser
| Parameter | Type | Description | Required |
|---|---|---|---|
| overrideHeaders | object | Key-value pairs of headers to override or add (keys are header names, case-insensitive) | Yes |
| timeout | number | Timeout in milliseconds | Yes |
{
"command": "override-headers",
"params": {
"overrideHeaders": {
"Authorization": "Bearer %{API_TOKEN}",
"X-Custom-Header": "scraper-v2"
},
"timeout": 5000
}
}
{
"command": "override-headers",
"params": {
"overrideHeaders": {
"Referer": "https://www.google.com",
"Accept-Language": "en-US,en;q=0.9"
},
"timeout": 5000
}
}