add rest example