Created
September 29, 2011 08:34
-
-
Save coela/1250298 to your computer and use it in GitHub Desktop.
furl post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Furl; | |
my $furl = Furl->new( | |
agent => 'MyGreatUA/2.0', | |
timeout => 10, | |
); | |
my %query = ( | |
u => 'ebisama', | |
); | |
my $res = $furl->post( | |
'http://shindanmaker.com/157704', # url | |
[],# header | |
[ %query ], # form data (HashRef/FileHandle are also okay) | |
); | |
print $res->content; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment