add restful service