in reply to Re^3: Mojo::UserAgent Can't locate object method "say"
in thread Mojo::UserAgent Can't locate object method "say"

Thank you. I will keep that in mind when replying. But, for now, can anyone use Mojo::UserAgent to authenticate to what.cd?
  • Comment on Re^4: Mojo::UserAgent Can't locate object method "say"

Replies are listed 'Best First'.
Re^5: Mojo::UserAgent Can't locate object method "say"
by Anonymous Monk on Nov 20, 2014 at 00:37 UTC
    I don't know how to use Mojo, but the page sends a typical post request. The quick scan of Mojolicious' docs suggests that it must be something like
    my $response = $ua->post('https://what.cd/login.php' => form => {usern +ame => 'foo', password => 'barbaz', login => 'Log in'})