in reply to Uploading a variable as a file usingHTTP::Request::Common
my $ua = LWP::UserAgent->new(); my $req = POST $url, Content_Type => 'form-data', Content => [blah => $something, file => [undef, 'foo.txt', content_type => 'text/plain', content => $x ] ];
|
|---|