Neurologically Paralyzing Mouseovers
Miss any of our Open RFC calls?Watch the recordings here! »

@mpxjs/fetch

2.6.32 • Public • Published

mpx-fetch

a http request lib for mpx framework.

Usage

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

Keywords

none

Install

npm i @mpxjs/fetch

DownloadsWeekly Downloads

68

Version

2.6.32

License

ISC

Unpacked Size

23.6 kB

Total Files

11

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar