completed a REST client