Rest API - HTTP Status Codes
A developer wrote this Express.js code to send a 204 response:
app.delete('/item/:id', (req, res) => {
res.status(204).send({ message: 'Deleted' });
});
What is the problem with this code regarding the 204 No Content response?