【发布时间】:2020-03-02 00:15:13
【问题描述】:
我必须通过rest API使用thingboard,因为它在指南https://thingsboard.io/docs/reference/rest-api/上显示 特别是,我有一个实时演示服务器和一个具有管理权限的自定义用户。 我可以使用 thingsboard 界面上的用户名/密码对其进行身份验证 不幸的是,当我尝试以下命令时 curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"username":, "password":}' 'https://THINGSBOARD_URL/api/auth/login'
我收到以下输出: {"status":401,"message":"身份验证失败","errorCode":10,"timestamp":"..."}
有人可以帮助我吗? 我会很高兴的,
詹卢卡
【问题讨论】:
标签: rest authentication access-token thingsboard