rest client modified