Skip to content

Commit

Permalink
update generator list
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 4, 2017
1 parent 43a37a4 commit 7bc3aea
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/Mojo/UserAgent/Transactor.pm
Expand Up @@ -314,13 +314,19 @@ These content generators are available by default.
$t->tx(POST => 'http://example.com' => form => {a => 'b'});
Generate query string, C<application/x-www-form-urlencoded> or
C<multipart/form-data> content.
C<multipart/form-data> content. See L</"tx"> for more.
=head2 json
$t->tx(PATCH => 'http://example.com' => json => {a => 'b'});
Generate JSON content with L<Mojo::JSON>.
Generate JSON content with L<Mojo::JSON>. See L</"tx"> for more.
=head2 multipart
$t->tx(PUT => 'http://example.com' => multipart => ['Hello', 'World!']);
Generate multipart content. See L</"tx"> for more.
=head1 ATTRIBUTES
Expand Down

0 comments on commit 7bc3aea

Please sign in to comment.