Restful service working