Bodyparser not setting object.prototype?

12 views
Skip to first unread message

Bg Sosh

unread,
May 16, 2013, 7:07:25 AM5/16/13
to expre...@googlegroups.com
If I get some data from a http post like this:

someControlerFunction : function(req, res){
            var somedata = req.body.somedata;
...
}

Then somedata.hasOwnProperty == undefined.  Is this intended?

Thanks.

(Express 3.2.1)
Reply all
Reply to author
Forward
0 new messages