I am making a simple request to my Node.js API. I am returning 400 as the status code and a custom message in the send method. For some odd reason all that is returned is a Bad Request text in the body not the custom message. Not sure what I am doing wrong. This works fine in development environment but not in staging environment.
Simply
res.status(400);
res;
res.send('You already are joined');