Files
2018-10-16 21:32:40 +05:30

637 B
Raw Blame History

title, localeTitle
title localeTitle
Get Route Parameter Input from the Client 从客户端获取路由参数输入

从客户端获取路由参数输入

如果有人告诉你构建GET或POST你会相应地做app.get...或app.post...)。挑战的基本结构是:

app.get("/:word/echo", function(req, res) { 
  // word = req.params.word; 
  // respond with the json object 
 }); 

帮助我们的社区扩展这些提示和指南