Re:How to (and how not to) design REST APIs
by jacknews on Wednesday November 22, 2023 @09:27PM
(#38388470)
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:
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.
[ Parent
| on HN ]
There are no comments on this comment yet.