Closed Mlocik97 closed 3 years ago
Hi, sorry this is unrelated and also invalid.
Unrelated because had it been an issue, it'd be with your server framework (polka, I presume)
And invalid because you need to specify a route path -- only app.use
is allowed to not have a path segment:
app.post('/path', (req, res) => {
console.log(req.body);
res.end();
})
Hope that helps!
when I use
in my server.js