Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My rule of thumb: if you know the ID of the resource you’re creating, it’s a PUT. If the system generates the ID, then it’s a POST.


More generally the URI instead of the ID.


The I in URI, stands for Identifier...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: