add restful example