Update Rest.java

the url of the server wasn't right