Rest client practice