【发布时间】:2020-11-05 03:24:52
【问题描述】:
请告诉我如何使用 Thingsboard 2.5.2 中的 REST API 调用节点执行以下 CURL 命令:
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"username":"tenant@thingsboard.org", "password":"我的密码"}''http://127.0.0.1:8080/api/auth/login'
如何将 -d '{"username":"tenant@thingsboard.org", "password":"mypassword"}' 发送到 REST API CALL 节点?
谢谢!
【问题讨论】:
-
什么意思?安装curl,打开终端,粘贴命令回车?
标签: api rest call thingsboard