Rest API - URL and Resource Design
Given the following API endpoints, which one correctly retrieves a list of orders?
GET /order
GET /orders
GET /order/456
GET /orders/456
GET /order
GET /orders
GET /order/456
GET /orders/456
GET /orders uses plural and no ID, so it returns the list of orders. Others either use singular or include an ID, indicating single item access.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions