📜  表达路由参数 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:55.127000             🧑  作者: Mango

代码示例5
Route path: /flights/:from-:to
Request URL: http://localhost:3000/flights/LAX-SFO
req.params: { "from": "LAX", "to": "SFO" }