You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ Note that in the following example the CSRF element is marked with the `data-csr
47
47
- `csrf` is the [CSRF][] token for the posted form. It's available in the request body as a `authenticity_token` form parameter.
48
48
- You can also supply the CSRF token via a child element. See [usage](#Usage) example.
49
49
- `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.
0 commit comments