nerdexam
Cisco

200-901 · Question #615

Refer to the exhibit. A developer uses a REST API to retrieve information about wireless access points. The API returns an HTTP 403 error when making a GET request. What resolves this issue?

The correct answer is A. Provide the developer with the correct user access rights.. HTTP 403 Forbidden means the server understood the request and the user is authenticated, but the user does not have the necessary permissions/authorization to access the requested resource. The fix is to grant the developer the correct access rights or roles. This is distinct fr

Understanding and Using APIs

Question

Refer to the exhibit. A developer uses a REST API to retrieve information about wireless access points. The API returns an HTTP 403 error when making a GET request. What resolves this issue?

Exhibit

200-901 question #615 exhibit

Options

  • AProvide the developer with the correct user access rights.
  • BChange the request HTTP method from GET to POST.
  • CChange the request timeout in the client software.
  • DInclude a username/password request header.

How the community answered

(32 responses)
  • A
    88% (28)
  • B
    3% (1)
  • C
    6% (2)
  • D
    3% (1)

Explanation

HTTP 403 Forbidden means the server understood the request and the user is authenticated, but the user does not have the necessary permissions/authorization to access the requested resource. The fix is to grant the developer the correct access rights or roles. This is distinct from HTTP 401 Unauthorized, which would indicate a missing or invalid authentication credential (which option D might address). Changing the method from GET to POST (B) would not fix an authorization problem. Changing the request timeout (C) addresses connection/performance issues, not access control. The 403 error is specifically an authorization (permissions) issue, not authentication.

Topics

#REST API#HTTP Status Codes#API Authorization#Access Rights

Community Discussion

No community discussion yet for this question.

Full 200-901 Practice