NC65 Restful API 调用

一、查看己启用的rest接口

访问 http://127.0.0.1/uapws/restmanage 可查看全部己部署的rest接口json

NC65 Restful API 调用

二、测试调用user_token接口

http://127.0.0.1/uapws/rest/user/loginide

Header 需添加sysconfig中配置的数据源信息:
uap_dataSource:XXXXX测试

Body 为json格式用户名及密码,密码为明文:
{
"usercode":"xxx",
"pwd":"xxx"
}rest

返回结果为json:
{
"uap_usercode": "xxx",
"uap_dataSource": "xxxxx",
"uap_token": "xxxxxxxxxxx"
}code

相关文章
相关标签/搜索