REST Client corrected