my $response = $ua->post('https://what.cd/login.php' => form => {username => 'foo', password => 'barbaz', login => 'Log in'})