Changed to appropriate work with remote RESTful API