Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 537
Which HTTP response code should be returned when the request is completed, but there is no content to send for the request?
Answer options
- A. 100
- B. 204
- C. 302
- D. 402
Correct answer: B
Explanation
The correct answer is B, 204, which signifies that the server successfully processed the request but is not returning any content. Option A, 100, is an informational response and does not indicate completion. Option C, 302, is a redirect status code, and option D, 402, indicates a payment required status, which does not apply to this scenario.