会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Spirit Breaker_Barathrum
Write the code,Change the World. 每天进步一点点。
博客园
首页
新随笔
联系
订阅
管理
2014年11月17日
使用nodegrass简单封装http请求例子
摘要: 1、项目中经常性的使用http发送请求处理数据。而大部分请求方式为get和post,于是对http请求进行封装,提供代码的利用率。2、nodegress是nodejs的一个请求工具。具体步骤及代码如下:1、安装nodegrass,执行npm install nodegrass命令。2、封装过程中存在...
阅读全文
posted @ 2014-11-17 09:52 Barathrum
阅读(1656)
评论(0)
推荐(0)
编辑
公告