What is the difference between 401 and 403?

Practice this question from Quiz: REST and HTTP, with options and an explanation.

Question

What is the difference between 401 and 403?

Option A — Correct answer

401 means unauthenticated; 403 means authenticated but not allowed

401 asks for valid authentication; 403 denies access despite identity.

Option B

401 is server error; 403 is success

Option C

They are identical

Option D

401 means not found; 403 means bad request

Quiz: REST and HTTP

All questions · Previous question · Next question

Open on QuizMaker