Rest API - HTTP Status Codes
You have this REST API code snippet:
What is wrong with this code?
if (!user.isLoggedIn()) {
return 403;
} else if (!user.hasAccess()) {
return 401;
}What is wrong with this code?
