Express.JS req.body is logging _locals: [Object: null prototype] {} to the console

后端 未结 0 478
伪装坚强ぢ
伪装坚强ぢ 2020-12-24 04:45

I have add-user.ejs file which has a simple form. With the POST method, I am trying to get the data with req.body but when I log it into the console I get this line:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题