add REST example