working REST demo