Update RestAPI.java