Rest API - HTTP Status Codes
What will be the status code returned by this Express handler?
app.get('/item', (req, res) => {
if (!req.query.id) {
res.status(400).send('Missing id');
} else {
res.status(200).json({ id: req.query.id });
}
});