Better HN
topnewbestaskshowjobs
Log inSign up

mikio

2 karma · joined Sep 12, 2016 (10y ago) · 2 submissions

Submissions

comment 10y ago · link · parent

Agree with that. I was operating on the description in the blog post that, in my opinion, contradicts itself a little bit

comment 10y ago · link · parent

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