APIs
You can modify the internal state of your server by using some of mockit's built-in APIs.
Get state of server
{
activeFixtures, // Object containing information about active fixtures
fixtures, // Array of all fixtures found
latency // The time in ms to wait before sending response
}Modify state of server
Headers
Name
Type
Description
Request Body
Name
Type
Description
Adds a new fixture
Request Body
Name
Type
Description
Server state reset
Last updated