How to use variables of a POST method in an another POST method in node.js?

前端 未结 0 703
醉酒成梦
醉酒成梦 2021-02-03 12:43
module.exports = (app) => {

app.post("/api/indexNo", async (req, res) => {
    console.log(req.body.indexNo); //This line is printed.
    const indexNo          


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