1 / 5
A reviewer says: 'Resource paths should be nouns, not verbs.' Which endpoint follows this convention?
-
-
-
-
REST resources are named with nouns (/users); the HTTP method (GET, POST) supplies the verb.
2 / 5
Which path correctly represents a 'sub-resource' (orders belonging to a user)?
-
-
-
-
Nesting expresses ownership: /users/42/orders means the orders that belong to user 42.
3 / 5
A guideline says collections should use 'plural nouns'. Which is correct?
-
-
-
-
Collections are plural (/products) and an item is addressed by ID within it (/products/123).
4 / 5
What is wrong with the endpoint POST /users/123/activate from a strict REST view?
-
-
-
-
Action-style verbs in paths deviate from resource-oriented design; state changes are often modelled as resource updates.
5 / 5
Which sentence correctly uses 'kebab-case' for a multi-word path segment?
-
-
-
-
Kebab-case (hyphen-separated lowercase) like /order-items is the common convention for readable URL segments.