a sample for httpclient