nerdexam
Cisco

200-901 · Question #551

Calling a REST API returns a 404 error. What does this code represent?

The correct answer is B. The URI being requested is incorrect. A 404 error indicates that the server could not find the requested resource. This typically happens when the URI (Uniform Resource Identifier) provided in the API request does not correspond to any existing resource on the server. It may be due to a misspelled or incorrect URI…

Understanding and Using APIs

Question

Calling a REST API returns a 404 error. What does this code represent?

Options

  • AA query parameter is missing.
  • BThe URI being requested is incorrect.
  • CA header is missing.
  • DThe payload is formatted incorrectly.

How the community answered

(40 responses)
  • B
    93% (37)
  • C
    3% (1)
  • D
    5% (2)

Explanation

A 404 error indicates that the server could not find the requested resource. This typically happens when the URI (Uniform Resource Identifier) provided in the API request does not correspond to any existing resource on the server. It may be due to a misspelled or incorrect URI, or the resource might not exist on the server.

Topics

#REST API#HTTP Status Codes#404 Not Found#URI

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice