REST API concepts and examples