mongo_async_crud icon indicating copy to clipboard operation
mongo_async_crud copied to clipboard

Http status code 204 not returning message.

Open SilverWings47 opened this issue 2 years ago • 0 comments

In the controllers, res.status(204).json({ 'message': 'No employees found.' }), the client doesn't receive the JSON object containing the message because the 204 code by default doesn't return any content.

SilverWings47 avatar Feb 21 '23 19:02 SilverWings47