[Mechanize-users] Why won't this Ruby/Mechanize HTTP POST work? (the Bank's web server gives Session Timeout response)
greg.hauptmann.ruby at gmail.com
Sat Aug 29 15:49:44 EDT 2009
2009/8/30 Aaron Patterson <aaron.patterson at gmail.com>:
> Your code looks fine. Your best bet is to mess with the post form
> until the post parameters match the browser. Once you get the post
> parameters to match the browser, if it still doesn't work, then make
> sure the headers match the browser headers.
Thanks heaps AaronP - I'll try using the hash based approach you
suggested and try to get things matching.
BTW - did my thoughts re Mechanize seeming not quite supporting the
INPUT TYPE="Image" tag make sense to you?
More information about the Mechanize-users