4 ms·
> for a CRUD interface you may need the singular form anyway (POST api/student/create) Why? What's wrong with api/students/create? > Avoid plural nouns in Eng
by marcellus23 3y ago
> for a CRUD interface you may need the singular form anyway (POST api/student/create)
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?
- rswail 3y agoVerbs in a URL are an API "smell" for me. URLs refer to a resource that you can manipulate. What resource is /students/create referring to?