-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Hi,
In my app.get or app.post methods when I try to use req.on('data', function(data){...}) or req.on('end', function(){...}), the debugging never gets there. Below is a part of the code:
app.post('/sample', passport.authenticate('basic', { session: false }), function (req, res) {
var body = "";
req.on('data', function (data) {
body += data;
});
req.on('end', function () {
});
req.on('error', function (err) {
});
});
Best Regards
Metadata
Metadata
Assignees
Labels
No labels