Mock the RESTful API's result