cli : move to HTTP-based implementation (#24948)