【文件属性】:
文件名称:midsouthmakers-rfid:用户访问控制的Web前端
文件大小:1.95MB
文件格式:ZIP
更新时间:2021-04-08 05:25:52
PHP
MidsouthMakers RFID
API端点
POST /api/login-attempt
发布有关小键盘登录尝试次数的信息。
身体:
成功登录:
{
"key": 123456,
"timestamp": 12345678,
"reason": "success",
"result": "success"
}
失败登录
{
"key": 123456,
"timestamp": 12345678,
"reason": "bad key || bad password",
"result": "failure"
}
回复:
{
"status": true
}
GET /api/members
检索所有成员的记录。 数据缓存了1周。 每次保存或删除成员时,缓存都会被破坏。
回复:
{
"tim