Better HN
topnewbestaskshowjobs
Log inSign up

alezha

1 karma · joined Sep 6, 2020 (6y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

Agreed about the idempotency concern. Safari for example will sometimes make past GET requests while making a current GET request, so you can get oopsied if you put a non-idempotent request in a GET.

On the other hand, if multi submitting causes bad behavior, a failsafe should probably be baked in to the endpoint logic itself rather than relying on POST not being abused.