diff --git a/README.md b/README.md index 6d4969a..204ba74 100644 --- a/README.md +++ b/README.md @@ -75,9 +75,9 @@ See [Static assets](https://rameel.github.io/ramstack.htmxtoolkit/articles/stati ```html @@ -183,15 +183,16 @@ The URL attributes from the example above work with Razor Pages too: ```html ``` -The request method comes from `hx-get`, `hx-post`, `hx-put`, `hx-patch`, or `hx-delete`. -If you leave it out, `hx-get` is used. +Write one of `hx-get`, `hx-post`, `hx-put`, `hx-patch`, or `hx-delete` without a value to choose +the request method; the Tag Helper fills in its URL from the `asp-*` attributes. +Without such an attribute, no URL is generated. Other Tag Helpers build HTMX attributes that otherwise need hand-written JSON: diff --git a/docs/articles/antiforgery.md b/docs/articles/antiforgery.md index 26a150d..f123bec 100644 --- a/docs/articles/antiforgery.md +++ b/docs/articles/antiforgery.md @@ -76,8 +76,8 @@ For a Razor Page with a `Save` POST handler: ```razor