Node.js和浏览器(JS HTTP客户端)的Ajax. 为@forwardemail、@ladjs、@spamscanner、@breejs、@cabinjs和@lassjs维护.
Node.js和浏览器(JS HTTP客户端)的Ajax. 为@forwardemail、@ladjs、@spamscanner、@breejs、@cabinjs和@lassjs维护.
超级代理 Small 进步客户端 HTTP 请求库,以及具有相同API的Node.js模块,支持许多高层次的 HTTP 客户端功能. 为Forward Email和Lad维护的目录 安装使用节点浏览器 支持必要的浏览器 特性插件 从以前的版本升级 Contricors 许可安装 [npm][] :sh npm 安装超正剂 [yarn][] :sh 添加超正剂 Usage Node js const 超正剂 = 需要 ("超正剂") ; // 召回超正剂 . post ('api/ pet'). send ({name:'Manny', spe种 :'cat'}) / 发送了 JSON 后身. set('X-API-Key','foobar'). set('accept','json'). (end(err, res) = {//////// 调用终端函数将发送请求 } ); // 以当时的/ catch superagent. post ('/ api/ pet').when (console.log). catchs (console. erroor); // 以 async/ wait (async () = { try { const res = 等待superagent. post ('/ api/ pet'); con..