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.
In reply to Re: complex http request
by Corion
in thread complex http request
by dhiraj121083
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |