3 ms·
Why have plural at all. All rest urls except index, which is easily discernible because it has no id, make more sense in the singular: get /ticket/12 patch
by jacknews 3y ago
Why have plural at all. All rest urls except index, which is easily discernible because it has no id, make more sense in the singular:
get /ticket/12
patch /ticket/12
put /ticket
The problem is not humans getting confused by 'gooses', but that sometimes your code has to do the mapping, and there are plenty of edge-cases. Just avoid the issue entirely by sticking with singular throughout.