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

I personally think that POST should hit an existing resource and create a new, related one. While PUT should hit an existing resource and modify it (if permissions allow). GET and DELETE are pretty obvious. Those are the conventions I use when I create REST interfaces.


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

Search: