Spec0docs
API Reference

Send a mock GET request

GET
/mock/{mockServerId}/{path}

Path Parameters

mockServerId*string
Formatuuid
path*string

Header Parameters

X-spec0-Preferred-Response-Code?string

Force a specific HTTP status code to be returned

X-Mock-Operation-Id?string

Override which operationId is matched

Response Body

curl -X GET "http://localhost:8080/mock/497f6eca-6276-4993-bfeb-53cbbbba6f08/string"
Empty