>
> Perhaps a wrapper to ->post( form => { ... } )?
>
> my $tx = ...->res->forms( name => 'login' )
> ->submit({ user => 'me', password => '12345'});
>
> being a shortcut to
>
> my $form = ...->res->dom->at('form name[login]');
> my $action = parse_action_from( $form );
> my %inputs = parse_inputs_from( $form );
> my $tx = $ua->post( $action => form => {
> %inputs, user => 'me', password => '12345' } );
>
And how does the response reference the user agent?
--
sebastian
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.