Skip to content

Commit

Permalink
fixed typo in generator recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 13, 2013
1 parent 9900864 commit e8791e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -848,7 +848,7 @@ The C<json> and C<form> generators are always available.
my $tx = $ua->patch('http://api.mojolicio.us' => json => {foo => 'bar'});

# Send "application/x-www-form-urlencoded" content via POST
my $tx2 = $ua->put('http://search.mojolicio.us' => form => {q => 'test'});
my $tx2 = $ua->post('http://search.mojolicio.us' => form => {q => 'test'});

# Send "multipart/form-data" content via PUT
my $tx3 = $ua->put('http://upload.mojolicio.us' =>
Expand Down

0 comments on commit e8791e7

Please sign in to comment.