The REST client