API接口指南
1. API 鉴权
- 资源 URL:http://
/user/api_authentication - HTTP 协议:post
- Content-Type:application/json;charset=UTF-8
参数名 | 说明 | 是否必填 |
---|---|---|
username | 用户名 | 是 |
password | 密码 | 是 |
- 请求示例:http://192.168.1.111/user/api_authentication ,POST body JSON 参数
{
"username": "testuser",
"password": "123456"
}
- 返回成功示例
{
"code": 1,
"data": { "apiToken": "40049042B5E2958EF10CB3E4AEFDB887136EF42B84F12976E37B7620DA0E02D2" },
"action": "success"
}