3 ms·
Sorry, I meant I use 401, not 402. And I use those terms in all error messages, documentation, and code. Otherwise I respect the standard.
by sergioisidoro 2y ago
Sorry, I meant I use 401, not 402.
And I use those terms in all error messages, documentation, and code. Otherwise I respect the standard.
- yashap 2y agoAh I see. If you mean you’re using 401 for “couldn’t authenticate this request”, and 403 for “you lack permissions to be allowed to do this”, then yeah, that’s standard, spec compliant usage.