Skip to content

differui/axios-mp-adapter

Repository files navigation

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

About

Axios adapter that allows emit requests in wechat mini programs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published