new rest client