Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A set of best practices for JavaScript projects. Parent comment
I agree it's not necessary, but having /actions just makes it more clear. For example:
"/repositories/1/bans" shows me all bans
"/repositories/1/ban" ban action
I know it's a bad example, but you could end up with other similar related resource and action names that could increase chances of silly mistakes.
There are no comments on this comment yet.
I agree it's not necessary, but having /actions just makes it more clear. For example:
"/repositories/1/bans" shows me all bans
"/repositories/1/ban" ban action
I know it's a bad example, but you could end up with other similar related resource and action names that could increase chances of silly mistakes.