save_request
Save a sample request payload to the Playground for documentation and testing. Recreates parameters for playground testing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Request URL / path, e.g. /api/v1/payments | |
| body | No | Request body string (JSON or raw) | |
| name | Yes | Descriptive name for this request scenario, e.g. 'Success Case', 'Validation Error' | |
| method | Yes | HTTP Method, e.g. POST, GET | |
| headers | No | Request headers as JSON string | |
| mockName | No | Associated mock API name | |
| description | No | Detailed description of this test scenario | |
| projectName | No | Associated project name | |
| collectionName | No | Associated collection folder name | |
| responseStatus | No | Optional expected response status code |