Used to simulate the backend API interface