Hacker News new | ask | show | jobs
by tempfile 4 days ago
Depends whether your form submission should expect side effects or not. Most forms submissions have side effects. If the effect is truly idempotent, wouldn't PUT be a better verb? That is also supposed to be idempotent.
2 comments

You can’t use PUT as a form action though.
I always forget this, because it makes no sense. Fair enough!
GET and QUERY are both idempotent.
I know, but neither GET nor QUERY may have side effects.
Hold my beer!