simplified the HTTPClient example [ci skip]