add rest service