add restful server demo