Comment by tln
3 months ago
I haven't seen the proposal, but buttons can already set the form method (and action, and more). So I guess the "Button HTTP Requests" will just save the need to nest one tag?
<form><button type="submit" formaction="/session" formmethod="DELETE"></form>
<form action="/session" method="DELETE"><button type="submit"></form>
To be clear, I was referring to the minor typo.
This proposal also includes the ability to update a target DOM element with the response from that delete action.