add restful service demo