nerdexam
Cisco

200-901 · Question #319

What is the meaning of the HTTP status code 204?

The correct answer is B. server successfully processed request; no content returned. HTTP status code 204 'No Content' means the server successfully processed the request but is intentionally not returning any response body. It is commonly used for DELETE operations, PUT/PATCH requests where no response body is needed, or any action that succeeds but has…

Understanding and Using APIs

Question

What is the meaning of the HTTP status code 204?

Options

  • Arequest completed; new resource created
  • Bserver successfully processed request; no content returned
  • Cstandard response for successful requests
  • Dinvalid query parameters

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    85% (23)
  • C
    4% (1)
  • D
    7% (2)

Explanation

HTTP status code 204 'No Content' means the server successfully processed the request but is intentionally not returning any response body. It is commonly used for DELETE operations, PUT/PATCH requests where no response body is needed, or any action that succeeds but has nothing to return. Option A describes HTTP 201 (Created). Option C describes HTTP 200 (OK), which also returns a body. Option D describes HTTP 400 (Bad Request) or 422 (Unprocessable Entity). The key distinction of 204 is success + no body.

Topics

#HTTP Status Codes#API Responses#Web Protocols

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice