Restrict the HTTP method for the parent route.
| Kind | Attribute |
| Since | 0.1.0 |
| Default | GET |
method <verb>
| Name | Type | Required |
|---|---|---|
verb |
string |
yes |
Specifies which HTTP verb the parent endpoint accepts. When omitted, defaults to GET.
page /contact method POST
html
<p>Form submitted.</p>
⚠ Implementation touched after spec. Source code changed on
2026-05-20, but this entity's spec was last edited on2026-05-08. The description may be out of date.
| Spec last touched | 5da8498 (2026-05-08) |
| Source last touched | af278bb (2026-05-20) |
| Source files | internal/parser/parser.go |