API Design · Junior · Question 18 of 75
What does 404 Not Found mean for GET /orders/999?
- ✓Correct answer: No order with ID 999 exists (or the client isn't allowed to know it exists)
- 2The URL syntax is invalid
- 3The server is down
Explanation
For empty collections, return 200 with an empty list, not 404.