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
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
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)- A88% (28)
- B3% (1)
- C6% (2)
- D3% (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
Community Discussion
No community discussion yet for this question.
