ThingsBoard API: Get Auth Token

The auth token will be required for future API requests. I did the following using the Insomnia REST client:

As a curl command that would be:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"username":"me@mymail.com", "password":"whatever"}' 'http://127.0.0.1:8080/api/auth/login'

One Response to “ThingsBoard API: Get Auth Token”

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>