simple rest example