Rest client working well