Resource Naming
← Back to Resource-Oriented Design
Use plural nouns for collections (/users, /orders), singular for singletons. Use path segments for hierarchy (/users/123/orders). Avoid verbs in URLs; let HTTP methods express the action.
← Back to Resource-Oriented Design
Use plural nouns for collections (/users, /orders), singular for singletons. Use path segments for hierarchy (/users/123/orders). Avoid verbs in URLs; let HTTP methods express the action.