I'm very new to Node as well as backend concepts in general. I have an app.post route set up that's successfully connecting, but when I try to console.log(req.body);, it comes up as undefined. I looked up the problem, and many suggested using bodyparser, which I know is depreciated. I've read that it can cause some security issues and thus should be avoided. Is this true? If so, what method should be used?
Submitted January 09, 2016 at 01:44PM by ZeroCarbsSince96
No comments:
Post a Comment