Create a mocked endpoint (instead rely on the real one)