set the rest_transport_api