how to set http status code in javascript node code example Example: express set response code res.status(400); res.send('None shall pass');