Hacker News new | ask | show | jobs
by lolinder 909 days ago
But this also isn't true—fetch can run all the HTTP request verbs.

What they seem to mean is that you can't access most of them via the GUI directly, which is true, but their "solution" is to make queries and commands both use POST, which means they've now thrown away the ability to even access read-only endpoints via the GUI.

2 comments

Ok I accept that - I guess you could F12, drop into the console and then fetch. Which is broadly similar to using curl.

I also don't like the idea of making queries and commands use POST. It kind of sucks (unless you are doing it for a website that is trying to avoid using JS for some reason).

> But this also isn't true—fetch can run all the HTTP request verbs.

Yep, or even custom ones that you've defined for specialized purposes (obviously you have to make sure your server also understands them).