LyraLearn AI Learning Platform
Exams
← Back to the lesson
Module 5 Β· Quiz

Design an Endpoint

1. What is the primary purpose of asking clarifying questions before designing an API endpoint?
2. Which method is used for creating a new resource in API design?
3. What is the significance of using `201 Created` status code instead of `200 OK` for resource creation?
4. Which of the following is a recommended practice when designing list endpoints with potentially large data sets?