Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c47e474

Browse files
committed
Add docs
1 parent f65d3b5 commit c47e474

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Note that in the following example the CSRF element is marked with the `data-csr
4747
- `csrf` is the [CSRF][] token for the posted form. It's available in the request body as a `authenticity_token` form parameter.
4848
- You can also supply the CSRF token via a child element. See [usage](#Usage) example.
4949
- `required` is a boolean attribute that requires the validation to succeed before the surrounding form may be submitted.
50+
- `http-method` defaults to `POST` where data is submitted as a POST with form data. You can set `GET` and the HTTP method used will be a get with url encoded params instead.
5051
5152
## Events
5253

0 commit comments

Comments
 (0)