1.0.1 • Published 4 years ago
tsc-sdk v1.0.1
tsc-sdk
在前端页面中调用用户创建的函数接口
Install
npm install --save tsc-sdk
Usage: post
const owcli = require('tsc-sdk');
const data = {name: 'Jane'}
const contentType = 'application/json'
owcli.post('/api/v1/test', JSON.stringify(data), 'appidString','tokenString',contentType).then(res => {console.log(res)})