When to use
Use custom headers and cookies when you need to:- Access authenticated content: Retrieve data behind login walls
- Maintain sessions: Preserve user state across requests
- Mimic real users: Include user-specific headers for personalized data
- API authentication: Send API keys or tokens in headers
- Regional content: Set language or region preferences
This is an advanced feature. Misconfigured headers or cookies may trigger anti-bot detection or cause requests to fail.
Parameters
headers
headers
Add custom HTTP headers to your request. Useful for authentication, setting custom user agents, or mimicking specific browsers.Common use cases:
- API authentication (API keys, tokens)
- Custom User-Agent strings
- Accept-Language preferences
- Referer headers
- Custom authentication headers
method
method
The HTTP method to use for the request.Supported methods:
GET, POST, PUT, DELETE, PATCHWhen to use:GET- Fetching data (default)POST- Submitting forms or dataPUT- Updating resourcesDELETE- Removing resources
POST or PUT, you’ll typically also need to include a body parameter.body
body
The data to send in the request body. Used with POST, PUT, or PATCH requests.Format: Can be an object (auto-converted to JSON) or a string.Common uses:
- Form submissions
- API payloads
- Search queries
- Data uploads
cookies (string format)
cookies (string format)
cookies (array format)
cookies (array format)
Headers and cookies cannot be used together. Please do not include any cookies when sending custom headers.
Just remember that cookies can be provided in either string format OR array format, but not both at the same time.
Just remember that cookies can be provided in either string format OR array format, but not both at the same time.
Usage
Send custom headers
Include headers as an object:POST requests with headers
Send POST requests with custom headers and body:Send cookies (string format)
Use simple string format for multiple cookies:Send cookies (object format)
Use object format for domain-specific cookies:Capture cookies with browser actions and reuse
Use browser actions to interact with a page (like selecting a zip code), capture the resulting cookies, and pass them to subsequent requests:Important constraints
Don’t mix headers and cookies:- Improper headers may trigger anti-bot detection
- Invalid cookies can cause request failures
- Test thoroughly before production use
- Monitor success rates when using custom headers/cookies
- Total header size: 32 KB
- Individual header: 8 KB
- Cookie header: 4 KB
This is an advanced feature requiring careful configuration. Always test in a development environment first.

