📜  req.body - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:28.985000             🧑  作者: Mango

代码示例3
(req.body, ' ' , ' ') --> here req is the parameter of your function and using this parameter your can access the properties over then url.
so look this example
suppose this is form 
enter the name :
so if you want to access the name -- which is filled by the user end. so for this you can do like this-> console.log(req.body.name); -- this will print the name (property) in console.