networklib

1.0.25 • Public • Published

使用方式

var {
  post
} = require('./index');

// test post
var url = 'http://192.168.1.189:8888/walletServer/getBackPayPass/1.0'
post(url, {
  bcHeader: {
    bcAppID: "***"
  },
  bcParam: {
    name: 1,
    userId: 2,
    token: 3
  }
}).then(_ => {
  console.log('_', _);
})

Readme

Keywords

none

Package Sidebar

Install

npm i networklib

Weekly Downloads

2

Version

1.0.25

License

ISC

Unpacked Size

11.2 kB

Total Files

8

Last publish

Collaborators

  • huwenzhi