摘要: 1、项目中经常性的使用http发送请求处理数据。而大部分请求方式为get和post,于是对http请求进行封装,提供代码的利用率。2、nodegress是nodejs的一个请求工具。具体步骤及代码如下:1、安装nodegrass,执行npm install nodegrass命令。2、封装过程中存在... 阅读全文
posted @ 2014-11-17 09:52 Barathrum 阅读(1656) 评论(0) 推荐(0) 编辑