@tuby/webapi
v1.0.24
Published
tuby webapi server visit lib
Downloads
28
Readme
#@tuby/webapi
##Installation With NPM:
$ npm install @tuby/webapi
With Yarn:
$ yarn @tuby/webapi
##Update With NPM:
$ npm update @tuby/webapi
With Yarn:
$ yarn upgrade @tuby/webapi
Usage
import {WebAPI} from '@tuby/webapi'
var webapi = new WebAPI({
"baseUrl": "http://192.168.19.41:10003/api",
});
webapi.signIn({
"name": "admin",
"pass": "admin123"
})
.then(res => {
expect(res).to.be.an('object');
console.log(res);
}).catch(res=>{
console.log(res);
})
Testing & Dev
npm run dev
npm run demo
:scroll: Changelog
Detailed changes for each release are documented in the CHANGELOG.md