Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more complex multipart example
  • Loading branch information
kraih committed Jun 17, 2013
1 parent ee702ef commit bcfdcf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Mojo/UserAgent/Transactor.pm
Expand Up @@ -401,8 +401,10 @@ requests, with support for content generators.
my $tx = $t->tx(POST => 'http://example.com' =>
form => {mytext => [{content => 'first'}, {content => 'second'}]});
# POST request with custom filename and header
# POST request with form values and customized upload (filename and header)
my $tx = $t->tx(POST => 'http://example.com' => form => {
a => 'b',
c => 'd',
mytext => {
content => 'lalala',
filename => 'foo.txt',
Expand Down

0 comments on commit bcfdcf4

Please sign in to comment.