Change open to RestClient