Try adding
req.on('error', (err) => {
console.error(err.stack)
})
before req.on('data', () => {})
if there is any error, it will log to console
Try adding
req.on('error', (err) => {
console.error(err.stack)
})
before req.on('data', () => {})
if there is any error, it will log to console
Node.js ❤ | Golang | Developer 💻| Student 👨🎓 | amljs.me