You could use a protocol analyser such as WireShark (www.wireshark.org) to compare the requests sent by a browser and those sent by your application.
Some browsers also offer add-ons to show the HTTP traffic. Check what the browser is sending, and ensure that your application follows that as closely as possible. On 21/11/2007, terry_513 <[EMAIL PROTECTED]> wrote: > > > Thanks Oleg. After some Rnd, now the same page is coming on post response. > Their are programs that work through such sites via desktop application. > What am I lacking, that I get wrong results? Their must be something to work > with these sites also. Any idea or suggestion would be of great help. If you > want, I can pass you the code. > > Please help me. I see in this site, you and other experts have helped so > many people. Please. > > Thanks > > > > > olegk wrote: > > > > > > On Tue, 2007-11-20 at 23:15 -0800, terry_513 wrote: > >> > >> Hello, > >> > >> In my desktop application, using HttpClient 3.1, I am navigating a web > >> site. I am trying to retreive the site > >> https://edit.yahoo.com/registration?.intl=us&new=1&.done=http, I pass the > >> respective parameters and perform a POST. The post requires redirect. So, > >> I > >> get the "Location" from the header which points to "http://yahoo.com" and > >> get the new location url via GET method. > >> > >> My problem is: the submission if form should be going somehwere else, > >> but > >> it is going to the home page. Why so? Where I may be going wrong? The > >> code > >> doesn't throw any exception or error. But the page that I receive is not > >> expected. Any idea, guidance will be of great help. > >> > >> Thanks > >> > >> > > > > > > This has nothing to do with HttpClient. Yahoo and many other high > > profile sites are known to employ various techniques to detect and > > prevent automated screen-scraping. > > > > Oleg > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Why-is-POST-%28HttpClient%29-is-acting-like-this--tf4848502.html#a13875050 > Sent from the HttpClient-User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
