79230388

Date: 2024-11-27 13:08:43
Score: 1
Natty:
Report link

here is example

  const auth = req.headers.authorization;
if (!auth) {
    res.set('WWW-Authenticate', 'Basic realm="Secure Area"');
    res.status(401).send('Authentication required');
    return;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chirag0264