change to use rest_client gem