Update RestClient.java

rest fail