3 ms·
> HTMX only does GET The very top of the docs (https://htmx.org/docs/ https://htmx.org/docs/) shows how HTMX sends a POST request: <button hx-post="/click
by moebrowne 2mo ago
> HTMX only does GET
The very top of the docs (https://htmx.org/docs/ https://htmx.org/docs/) shows how HTMX sends a POST request:
<button hx-post="/clicked"
hx-trigger="click"
hx-target="#parent-div"
hx-swap="outerHTML">
Click Me!
</button>
- otherme123 2mo agoAnd a bit more hidden, https://htmx.org/extensions/ws/#automatic-reconnection https://htmx.org/extensions/ws/#automatic-reconnection (Automatic Reconnection with exponential backoff)