nerdexam
Cisco

200-901 · Question #200

Which HTTP response code should be returned when the request is completed but there is no content to send for the request?

The correct answer is B. 204. HTTP 204 No Content indicates the server successfully processed the request but has no content to return in the response body. This is common for DELETE operations or PUT updates. Option A (100 Continue) is an informational code used during request negotiation. Option C (302…

Understanding and Using APIs

Question

Which HTTP response code should be returned when the request is completed but there is no content to send for the request?

Options

  • A100
  • B204
  • C302
  • D402

How the community answered

(49 responses)
  • A
    4% (2)
  • B
    94% (46)
  • C
    2% (1)

Explanation

HTTP 204 No Content indicates the server successfully processed the request but has no content to return in the response body. This is common for DELETE operations or PUT updates. Option A (100 Continue) is an informational code used during request negotiation. Option C (302 Found) is a redirect code. Option D (402 Payment Required) indicates a payment is needed to access the resource. Only 204 specifically signals success with no response body.

Topics

#HTTP Status Codes#REST APIs#API Responses#Web Services

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice