NodeJs第二天
摘要:
首先搭建服务器 1 获取get请求提交的数据 app.get(pathname, handler) pathname : 前端提交的url handler : 处理函数 例 function(req, res){} 2 获取post请求提交过来的数据 需要借助body-parser模块 首先要使用n 阅读全文
posted @ 2019-03-10 17:58
张花花
阅读(144)
评论(0)
推荐(0)
浙公网安备 33010602011771号