Start mock server
start_mockStart a localhost mock server that serves saved example responses for each saved request path, letting you develop against an API that is not running.
Instructions
Start a mock server on localhost that answers each saved request's path with its saved example response. Use it to develop against an API that is not running. Returns the address and, per request, whether it is served and why not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | The localhost port to listen on. Defaults to 4010. | |
| delay_ms | No | Wait this long before every answer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routes | No | ||
| address | No | ||
| running | No | ||
| recentRequests | No |