RE: Yahoo login with Httpclient

2004-05-04 Thread Min (Frank) Ni
Any luck in trying to get a page after logging into Yahoo with HttpClient ? Frank -Original Message- From: Michael Becke [mailto:[EMAIL PROTECTED] Sent: Thursday, April 29, 2004 12:35 AM To: Commons HttpClient Project Subject: Re: Yahoo login with Httpclient Well, I've tried a variety

RE: Yahoo login with Httpclient

2004-05-04 Thread Min (Frank) Ni
Project Subject: RE: Yahoo login with Httpclient Frank, I thought the problem had been resolved. What's wrong with taking MrPostman's code as a starting point and implementing the same thing using HttpClient? Oleg On Tue, 2004-05-04 at 23:41, Min (Frank) Ni wrote: Any luck in trying to get

RE: Yahoo login with Httpclient

2004-04-30 Thread Min (Frank) Ni
for each method, it should work: method.setRequestHeader(user-agent, Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1); You can also change the user agent to something else if you like. Mike On Apr 29, 2004, at 9:54 AM, Min (Frank) Ni wrote: Hi Mike

RE: Yahoo login with Httpclient

2004-04-30 Thread Min (Frank) Ni
to get this to work. I just wanted to post the code that I was trying with, thinking that it may help you to figure this one out. Mike Min (Frank) Ni wrote: Hello Mike: According to your advice, I changed the code to look like the following, but I am getting Invalid Password error. I used

RE: Yahoo login with Httpclient

2004-04-30 Thread Min (Frank) Ni
doing. I have a feeling either will work. Mike Min (Frank) Ni wrote: OK thanks. Should the second GetMethod() in loginMD5() be PostMethod() ? Frank -Original Message- From: Michael Becke [mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 10:19 AM To: Commons HttpClient Project

RE: Yahoo login with Httpclient

2004-04-30 Thread Min (Frank) Ni
Hi Mike, Oleg : I've been trying different things and it seems MrPostman (inside www.sf.net ) got me a little closer. I can use the following programs and try to log into Yahoo. Although I still can't see the logged-in page, but if I supply the wrong Id/password, it will tell me, seems to me

RE: Yahoo login with Httpclient

2004-04-30 Thread Min (Frank) Ni
recent addition. So, you may even consider contributing the code based on HttpClient back to the MrPostman project Oleg On Fri, 2004-04-30 at 19:17, Min (Frank) Ni wrote: Hi Mike, Oleg : I've been trying different things and it seems MrPostman (inside www.sf.net ) got me a little closer. I

RE: Yahoo login with Httpclient

2004-04-29 Thread Min (Frank) Ni
Hi Mike: Thank you for your sample code, I tried to compile it, but got the following errors : === YahooLogin.java [13:1] package org.apache.commons.httpclient.params does not exist import

RE: Yahoo login with Httpclient

2004-04-28 Thread Min (Frank) Ni
=1.1.2.1only_with_tag=HTTPCLIENT_2_0_BRANCHview=markup If it does not cut it for you, let me know. I may try to quickly hack it up for you (provided I do not get stamped with work (the one that helps me pay the bills I mean)) Oleg On Wed, 2004-04-28 at 00:08, Min (Frank) Ni wrote: Hi: I've been trying to use

Yahoo login with Httpclient

2004-04-27 Thread Min (Frank) Ni
Hi: I've been trying to use Httpclient to programmatically login to Yahoo, but I am not sure how to do it right, I've tried to follow the sample tutorials and nothing seemed to work for me, I've also searched the web for answers, but failed, it seems to me that Httpclient is the closest match