change dependency to restful client