in reply to complex http request
See HTTP::Request::Common - the documentation seems to suggest the following data structure:
my $res= $ua->post( $url, Content_Type => 'form-data', Content => [ file_metadata_0 => '...', file_content_0 => [ $filename ], ... ], );
Note that the file content is another array reference.
|
|---|