Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Help logging into a website with LWP::UserAgent

by SebMorris (Novice)
on May 18, 2014 at 18:21 UTC ( [id://1086528]=note: print w/replies, xml ) Need Help??


in reply to Re: Help logging into a website with LWP::UserAgent
in thread Help logging into a website with LWP::UserAgent

I have found this syntax: $ua->post( $url, \%form, $field_name => $value, ... ) how do i use this to input this into the user or password form sections

  • Comment on Re^2: Help logging into a website with LWP::UserAgent

Replies are listed 'Best First'.
Re^3: Help logging into a website with LWP::UserAgent
by Corion (Patriarch) on May 18, 2014 at 18:24 UTC

    Again, you will have to learn about what HTTP is, and how it relates to HTML.

    Maybe starting by looking at the site source code gives you an idea of how the parts interact, or maybe you are better off to use WWW::Mechanize and/or one of its Javascript-enabled variants.

      Ok thanks back to the drawing board!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1086528]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-16 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found