REST example