rest-client minor changes + removed unused metods