← Quiz: Node, Express and REST: all 10 questions
Quiz: Node, Express and REST · Question 4 of 10
Which URL design follows REST conventions?
Which URL design follows REST conventions?
- A.GET /getAllCourses
- B.POST /deleteCourse?id=7
- C.DELETE /api/courses/7
- D.GET /courses/delete/7
Answer & explanation
Correct answer: DELETE /api/courses/7
Use nouns in URLs and the HTTP method as the action.
Can you get the rest right without peeking?
Take the timed Quiz: Node, Express and REST quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →