rest client config