标签: javascript node.js express server
让我说我有
app.get("/msg/:id", (req, res) => { const plan = db.find(c => c.id === parseInt(req.params.id)); res.send(plan); });
当我点击按钮时,如何从客户端javascript获取/指定我想要返回的ID,
谢谢