Example REST API usage