技能修改
This commit is contained in:
1 parent
45ce14e15a
commit
29082b349d
22 files changed
+623
-205
No files matched your search
@@ -31,8 +31,8 @@ scripts/xdfx_flow.py
|
||||
默认调用:
|
||||
|
||||
```text
|
||||
POST /api/v1/auth/login/username?password=ch%40user
|
||||
body: {"username":"admin"}
|
||||
POST /api/auth/login
|
||||
body: {"username":"admin","password":"ch@user"}
|
||||
```
|
||||
|
||||
拿到 `access_token` 后会写入内部 `Authorization: Bearer ...`。不要通过任何命令行参数传 token;脚本会忽略外部 Authorization,统一由 `xdfx_auth.py` 获取和刷新。登录接口和 401 重试都会输出 `操作反馈` / `错误反馈`,但反馈中的 `password`、`token` 会脱敏。默认关闭 HTTPS 证书校验,适配 UAT/内网自签证书;如果环境证书链正常,可以追加 `--verify-ssl`。
|
||||
|
||||
Reference in new issue
Block a user