RESTful service example