/axios-mp-adapter

Axios adapter that allows emit requests in wechat mini programs

Primary LanguageJavaScriptMIT LicenseMIT

axios-mp-adapter

Software License Issues NPM

Installation

Using npm:

npm i axios-mp-adapter --save-dev

Example

var axios = require('axios');
var mpAdapter = require('axios-mp-adapter');

axios({
  url: 'https://foo.bar',
  adapter: mpAdapter,
}).then((response) => {
  // handle the response
});

License

© BinRui Guan