Added rest client solution