Spring Certified Professional 2023 · Free Practice Question Medium

Question 31

The HTTP ________ response status code indicates that the server understands the request but refuses to authorize it.

  • A

    203

  • B

    403

  • C

    503

  • D

    303

Reveal correct answer

Correct answer: B

Explanation

The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it. This status is similar to 401 , but for the 403 Forbidden status code, re-authenticating makes no difference. The access is tied to the application logic, such as insufficient rights to a resource.


https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need