Sample programs of HttpClient