REST API test