Express4中文文档
路由 HTTP 请求,其中 METHOD 是请求的 HTTP 方法,如 GET、PUT、POST 等,小写。因此,实际的方法是 app.get()、app.post()、app.put() 等等。有关完整列表,请参见下面的 路由方法。
app.get()
app.post()
app.put()