mock RESTFull API endpoint