Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tempfile
· 5mo ago · 0 comments
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.
Comments
[–]
echoangle
5mo ago
You can’t use PUT as a form action though.
[–]
tempfile
OP
5mo ago
I always forget this, because it makes no sense. Fair enough!
[–]
diroussel
5mo ago
GET and QUERY are both idempotent.
[–]
tempfile
OP
5mo ago
I know, but neither GET nor QUERY may have side effects.
[–]
mring33621
5mo ago
Hold my beer!