News for hackers. Stuff that matters.
Re:RFC 10008: The new HTTP Query Method by MBCook on Wednesday June 17, 2026 @03:38PM (#48575703)
What’s the use case for that?
Re:RFC 10008: The new HTTP Query Method by acabal on Wednesday June 17, 2026 @07:28PM (#48578471)
Because if HTTP is the language of the web, then HTML forms are how humans speak that language to computers. Right now we humans can only speak GET and POST.

In other words, right now if a human wants to DELETE a widget, the human has click on an HTML form to `POST /widgets/123/delete`, or use some other workaround like smuggling a special `_method=DELETE` variable. This is unnatural and semantically incorrect, resulting in ugly hacks that break HTTP-level expectations like idempotency; and it also requires additional app-level logic to process.

Meanwhile a machine is allowed to simply `DELETE /widgets/123` because their interface to HTTP is not clicking on HTML forms.

We humans could converse with websites in semantically correct HTTP, have clean URLs in which both REST APIs and human-facing URLs are identical without hacks, and require no extra app/framework logic, if HTML forms simply allowed all (human-relevant) HTTP verbs.

Re:RFC 10008: The new HTTP Query Method by imtringued on Thursday June 18, 2026 @06:10AM (#48583223)
Things like that are why it's completely unreasonable to expect websites to work without first party Javascript. Utterly basic and mundane functionality is gated behind Javascript.

Building the mundane in the absence of JavaScript isn't some small thing you can build. It's going to require you to rebuild your entire site around the idea. Things like a searchable dropdown will now turn a single page form into a horrifying multi page mess where you get sent to a page for just the dropdown and the search box and selectable options, which then send you back to the original form. That is going to require you to store a lot of the form data on the server to keep track of what you entered across pages rather than let the browser do its thing.

The noscript crowd should have lobbied for a better HTML instead of rallying against JavaScript.

Re:RFC 10008: The new HTTP Query Method by Balthild on Thursday June 18, 2026 @10:21PM (#48594156)
It is almost a use case in itself: to make an form in pure HTML to allow user to update/delete a resource on the server, without violating the HTTP semantics with routes like `POST /items/:id/delete`.
Re:RFC 10008: The new HTTP Query Method by lenkite on Saturday June 20, 2026 @06:43AM (#48608184)
I don't want to write Javascript for what should be a core feature of Basic HTML forms.