Interview Bootcamp
Ask Author
Back to course home

0% completed

Vote For New Content
Vibhor Kashmira
401 vs 403

Vibhor Kashmira

May 15, 2023

Shouldn't we return 403 Forbidden instead of 401 Unauthorized if the user isn't authenticated to access the resource? This because, 401 is fixed by reauthentication, but 403 won't be fixed by that.

2

0

Comments
Comments