REST API
Preface
The Mocks Server main distribution includes the admin-api plugin preinstalled. It provides a REST API allowing to interact with the server while it is running. Read the REST API integration chapter for further info.
API
Swagger
tip
Start Mocks Server and browse to http://localhost:3110/docs to check out the API resources in the Swagger UI.
Postman
Once Mocks Server is running, you can also use our Postman public collection to interact with the administration API:
Javascript client
tip
A JavaScript client for the administration api is also distributed as an NPM package: @mocks-server/admin-api-client.