0.1.4 • Published 8 years ago
http-helper v0.1.4
http-helper
##简易的网络接口调用工具 http请求的工具操作集,包含请求超时时间设置 提供request、get、post等方法调用远程接口 ##安装与初始化,node
npm install http-helper
var httpHelper = require('http-helper');
##方法调用说明
也可以执行grunt命令,查看doc文件夹下生成的帮助文档
###request:发起远程请求的基础方法
###RequestCallback:数据回调方法
###get:以GET的方式发起远程请求,内部调用request
###post:以POST的方式发起远程请求,内部调用request