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

REST doesn't demand a noun. If they all have the same code backing them, there's no functional difference between:

    POST /actions/subscribe
and

    POST /subscriptions
and

    POST /abcdef1234567890
The shape of a URL has nothing to do with REST. However, if a lot of your URLs contain verbs it suggests that you aren't doing REST. It's a design odor.


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

Search: