Modify request
add_modify_request_ruleRewrite request headers or body by specifying a URL pattern and HTTP method. Modify, remove headers, or replace body content to alter outgoing requests.
Instructions
Rewrite headers/body on matching requests, then pass through.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | HTTP method to match (GET, POST, ...). Omit = all methods. | |
| setHeaders | No | ||
| urlPattern | No | RegExp source matched case-insensitively against the full request URL. | |
| replaceBody | No | ||
| removeHeaders | No |