Const
401 Unauthorized
Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
import { UNAUTHORIZED } from 'costatus'; Copy
import { UNAUTHORIZED } from 'costatus';
https://developer.mozilla.org/docs/Web/HTTP/Status/401
401 Unauthorized
Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
https://developer.mozilla.org/docs/Web/HTTP/Status/401