Skip to main content
PreparationZone Logo
PreparationZone
Back to Fundamentals

Fundamentals · Medium · Free

REST URL naming conventions — nouns, pluralization, nesting.

FresherFundamentalsWeb & Full-Stack
Model answer

REST URL design

For REST URL naming conventions — nouns, pluralization, nesting., interviewers listen for a crisp definition, how the pieces interact in a real system, and one trade-off or failure mode you have seen or would guard against.

  • Use nouns not verbs: /orders not /getOrders
  • Plural resources: /students/{id}
  • Nest for ownership: /students/5/courses
  • Filters via query: ?status=active
HTTP verbs carry action—GET read, POST create.