in reply to WWW::Mechanize form submit w/ password failing [SOLVED]
If all else fails, compare what a Real Browser sends over the wire with what WWW::Mechanize sends. Adapt your code until the bytes your code sends are indistinguishable from what a Real Browser sends.
A convenient tool are the Mozilla HTTP Live Headers for Firefox. Likely, other browsers have similar tools.
For WWW::Mechanize, see LWP::Debug on how to enable a dump of the incoming and outgoing data.
The sledgehammer tool for tracking what really goes over the wire would be Wireshark.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: WWW::Mechanize form submit w/ password failing
by ogmogul (Initiate) on Nov 14, 2013 at 17:05 UTC |