API Design · Junior · Question 10 of 75
Why should resource names in URLs usually be plural nouns, like /users?
- 1Singular names are slower
- ✓Correct answer: It reads consistently for both the collection (
/users) and items (/users/42) - 3HTTP requires plural names
Explanation
The exact convention matters less than consistency across the whole API. Style guides help teams agree.