curl_waf_endpoint
Test WAF rules by sending HTTP requests to a local endpoint with configurable method, path, headers, and body.
Instructions
Execute an HTTP request against the local WAF test endpoint (http://localhost:8081)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"method": "<method>",
"path": "<path>"
},
"name": "curl_waf_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional request body | |
| path | Yes | Request path (e.g. /, /admin?x=y). Automatically prefixed with http://localhost:8081 | |
| method | Yes | HTTP method to use | |
| headers | No | Optional headers to include | |
| timeout | No | Optional curl timeout in seconds |