Migrated to RestClient. Handle response properly.