|The stupid question is the question not asked|
WWW::Mechanize authentication problemby jclh (Initiate)
|on Jun 03, 2013 at 00:04 UTC||Need Help??|
jclh has asked for the
wisdom of the Perl Monks concerning the following question:
Hello, I'm having a bit of frustration attempting to authenticate via mechanize... I'm trying to log in to ancestry.com with:
mech-dump https://secure.ancestry.com/login shows the form to look like this:
ReturnUrl= (hidden readonly)
I think my confusion may be that I don't know what to do with the 'ReturnUrl' field so (I believe) I'm passing it back a null entry...
Anyway, each time I run it the server gives back a standard 'unknown user/pass' page...
I've double/triple checked my user/pass is correct.
Anyone have any ideas on this one?
UpdateThank you guys for the replies. Not sure which one, but one of the suggestions seems to have worked. Thanks!