added REST example