Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How to (and how not to) design REST APIs. Parent comment
Why? What's wrong with api/students/create?
> Avoid plural nouns in English API endpoints because English is full of irregular plurals.
I don't buy this. I mean, yes, it's true, but how often do people really need to write these endpoints after initially writing the client code?
URLs refer to a resource that you can manipulate. What resource is /students/create referring to?
Why? What's wrong with api/students/create?
> Avoid plural nouns in English API endpoints because English is full of irregular plurals.
I don't buy this. I mean, yes, it's true, but how often do people really need to write these endpoints after initially writing the client code?