← Quiz: REST APIs: all 10 questions
Quiz: REST APIs · Question 6 of 10
What status should a successful DELETE with no response body return?
What status should a successful DELETE with no response body return?
- A.200 OK with an empty JSON object always
- B.201 Created
- C.204 No Content
- D.404 Not Found
Answer & explanation
Correct answer: 204 No Content
204 says "done, and there is nothing to send back".
Can you get the rest right without peeking?
Take the timed Quiz: REST APIs quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →