Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Answer: Problems posting form info to a .asp site using LWP

( #93583=categorized answer: print w/ replies, xml ) Need Help??

Q&A > HTTP and FTP clients > Problems posting form info to a .asp site using LWP contributed by arhuman

Check :
  • If you get a 30x HTTP Response from the server, for LWP doesn't handle POST as the IIS server expect when there's a redirection (look at Redirect_ok)...
  • Fake the UserAgent to an usual one 'Mozilla..'
  • Fake a referer (setting it to the page where the form is...)


In last resort use SocketWorkbench to find what's different with a posting via your browser...

Comment on Answer: Problems posting form info to a .asp site using LWP
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (20)
As of 2015-07-01 17:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (13 votes), past polls