Wait for a matching request
wait_for_requestWait up to 25 seconds for a captured HTTP request. Optionally filter by exact method and path, case-insensitive header name with exact value, body substring, and RFC3339 lower bound. Returns stored headers, body, and whether the body was truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional exact URL path beginning with / | |
| since | No | Optional RFC3339 timestamp; ignore older requests | |
| method | No | Optional exact HTTP method | |
| header_name | No | Optional HTTP header name; must be paired with header_value | |
| header_value | No | Optional exact header value; must be paired with header_name | |
| subdomain_id | Yes | Subdomain ID | |
| body_contains | No | Optional case-sensitive UTF-8 body substring | |
| timeout_seconds | No | How long to wait, in seconds |