PUT, and request bodies are JSON.
The full API is documented as an OpenAPI 3 specification on SwaggerHub. Use it for interactive exploration and schema details.
Base URL
By default, MockServer listens on port1080:
https://localhost:1080. Pass -k (or --insecure) with curl when MockServer uses a self-signed certificate.
Conventions
- All control endpoints use the
PUTHTTP method. - Request bodies are JSON. Set
Content-Type: application/jsonif your client requires it. - Responses use standard HTTP status codes to indicate success or failure.
- MockServer returns
400 Bad Requestwith a descriptive message when the request body fails JSON schema validation.