A restful service tutorial