REST API examples