sample rest client