Hi Jerry, [EMAIL PROTECTED] wrote:
> 1) Connect to the URL: _http://www.tsp.gov/account/index.html_ > (http://www.tsp.gov/account/index.html) > > 2) On the web page given in 1) there is a hyperlink that I click, which > takes me to the logon page, > > _https://tspweb2.tspsec.tsp.gov/login2.htm_ > (https://tspweb2.tspsec.tsp.gov/login2.htm) > > How do I simulate 1) and 2) with HttpClient? 1. Send a request to fetch http://www.tsp.gov/account/index.html 2. Send a request to fetch https://tspweb2.tspsec.tsp.gov/login2.htm HttpClient is not a browser, nor any other kind of interactive application. It's a package to send HTTP request and receive the responses. Just observe the sequence of requests generated by the browser, then implement the same sequence with HttpClient. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
