Logo
mocks-server API Documentation

Use route variant

POST {{base_url}}/mock/custom-route-variants

Define a route variant to be used instead of the one defined in the current collection.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'http://127.0.0.1:3110/api/mock/custom-route-variants' -d '{"id":"get-users:all"}'

ENDPOINTS