Here's the server controller (which works)
function logTheRequest(req, res) {
console.log(req.body);
res.sendStatus(200);
}
Here's the client side fetch
newCustomer() {
fetch('/customers/sign-up', {
method: 'POST',
body: 'test',
});
}
But when I console.log(req.body), all I get is { }