run_snippet
Execute a QuikRun snippet to get its output, HTTP response summary, and logs. Override method, path, body, or run ad-hoc code.
Instructions
Run a snippet and return its output, HTTP response summary, and logs. Optionally override the request method, path, body, and bodyType, or run ad-hoc code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body payload. | |
| code | No | Ad-hoc code to run instead of the saved draft. | |
| path | No | Request path passed to the snippet. | |
| slug | Yes | The snippet slug. | |
| method | No | HTTP method for the run, e.g. GET or POST. | |
| bodyType | No | How to interpret the body. |