HOW TO send back status error code in response express code example Example: express set response code res.status(400); res.send('None shall pass');