訪問 http://127.0.0.1/uapws/restmanage 可查看全部己部署的rest接口json
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