RESTful webservice server part