HNHacker News
TopNewBestAskShowJobs

mikio

2 karma · joined September 12, 2016

submissionscomments
mikio··on REST Anti-patterns
Agree with that. I was operating on the description in the blog post that, in my opinion, contradicts itself a little bit
mikio··on REST Anti-patterns
Why is POST /accounts/4402278/close correct in the first example? According to the rest of the post, PUT should be a better option. Closing an account seems to me like its updating a resource, not creating one. Also, will calling that url close the account multiple times? POST is not supposed to be idempotent