perl6 HTTP::UserAgent发送post
摘要:
use HTTP::UserAgent; my $ua = HTTP::UserAgent.new; say 'All method:'; say $ua.^methods; my %data = :cmd('whoami'); my $result = $ua.post('http://localhost/1.php', %data); say $result.content; 阅读全文
posted @ 2017-05-27 03:04 Perl6 阅读(247) 评论(0) 推荐(0) 编辑