This package has been deprecated

Author message:

rename

mpx-fetch

1.0.0 • Public • Published

mpx-fetch

a http request lib for mpx framework.

Usage

import mpx from 'mpx'
import fetch from 'mpx-fetch'
 
mpx.use(fetch)
 
mpx.xfetch.fetch({
  url,
  data: {},
  header: {'content-type': 'application/x-www-form-urlencoded'},
  method: 'GET'
}).then(res => {
  console.log(res)
})

/mpx-fetch/

    Package Sidebar

    Install

    npm i mpx-fetch

    Weekly Downloads

    2

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    8.72 kB

    Total Files

    9

    Last publish

    Collaborators

    • skyadmin