Update rest_client.rb