get_requests
Read the HTTP requests captured by a bin (method, path, query, headers, body), newest first. Set wait to block until a request arrives — ideal for 'trigger then assert' with no polling loop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Seconds to block (max 25) until a request arrives. 0 = return immediately. | |
| limit | No | Max requests to return (default 20, max 100). | |
| since | No | Only return requests with ts greater than this (ms epoch). Use the ts of the last one you saw. | |
| token | Yes | The bin token returned by create_bin. | |
| bin_id | Yes | The bin id returned by create_bin. |