RESTClient can now set the URI endpoint programatically