With mechanize you are selecting the form you want to post, while in your http request you'll have to do it in your own
You'll have to take a look at the form you're submitting and make sure that it does submit the form to 'bat.html' which is unlikely to be the case.
Look for <form method='post' action='HERE's the action url you'll have to submit your data to'>
In reply to Re: A case where Mechanize works, LWP doesn't
by ahmad
in thread A case where Mechanize works, LWP doesn't
by dneedles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |