Follow

i'm everytime disappointed by how HTML forms only allow GET and POST as methods.

time to again shove everything into POST with an additional parameter 🎉

i mean you want to sell REST to me, at least let me use on of the fucking basic paradigms.

this way it's more convenient to do RPC for me and shove everything into one path and method selecting the operation via parameter :ablobfoxhyper:

@bonifartius REST works over HTTP, as well as HTML and many other data formats. the same GET and POST. though, REST is just a set of basic principles in protocol and it theoretically can work over something else. but I haven't seen any, but over HTTP.

@iron_bug yes, i know. my point is that i think it would be nice to build an application which has REST like routes but can be used with HTML forms and not requiring javascript..

@bonifartius ughhh. I hate that and can't believe that part of the standard hasn't been fixed.

I always end up reaching for a js shim that lets me just build the form with PUT or DELETE and it will just hijack the submit and do everything as a js request.

@rgegriff there isn't even a good reason for it. it's just that way and nobody cares because everything is JS bloat anyway.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.