Skip to content

Commit

Permalink
mention GET and POST as well
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 15, 2015
1 parent a3885b5 commit f72533c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -833,9 +833,10 @@ This chain could go on and on to allow a very high level of template reuse.

To build HTML forms more efficiently you can use tag helpers like
L<Mojolicious::Plugin::TagHelpers/"form_for">, which can automatically select a
request method for you if a route name is provided. And since most browsers do
not allow request methods like C<PUT> or C<DELETE> for forms, they are spoofed
with a C<_method> query parameter.
request method for you if a route name is provided. And since most browsers
only allow forms to be submitted with C<GET> and C<POST>, but not request
methods like C<PUT> or C<DELETE>, they are spoofed with a C<_method> query
parameter.

use Mojolicious::Lite;

Expand Down

0 comments on commit f72533c

Please sign in to comment.