摘要: Express 定义了如下和 HTTP 请求对应的路由方法: get, post, put, head, delete, options, trace, copy, lock, mkcol, move, purge, propfind, proppatch, unlock, report, mkac 阅读全文
posted @ 2018-07-18 12:03 Forestchen 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 访问请求对象(request)或(req) 响应对象(response)或(res) 中间件(middleware) http的请求方法(method) 服务器的路径(path) 路由匹配时的函数(callpack) cmd里面的创建(mkdir) 路由(routing)或(route) http的 阅读全文
posted @ 2018-07-18 12:03 Forestchen 阅读(215) 评论(0) 推荐(0) 编辑