记录。
|
use LWP::UserAgent; my $UA = LWP::UserAgent->new; my $URL = "http://www.abc.com/test.php"; my $response = $UA->post( $URL, [ 'id' => '12','type' => 'abc'] ); if ( $response->is_success ) { print $response->content; } else { print "ERROR\n"; } |