Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleResponse Code


HTTP Status Code:Description/Response Body:
200 OKTransaction OK.
401 UnauthorizedAPITOKEN is invalid or null
{"error" : "APITOKEN is invalid or nullAUTH_REQUIRED"}
404 Not Found

no active session found

{"error" : "no session found.NO_SESSION"}



Info
titleAbout how to see the session

If Publish from the device to the message broker is not a persistent session and disconnects the payload every time it is sent out, the session will be terminated in a very short period of time, so it is not possible to catch the session in most cases.
When a device subscribes to a message broker, it is inevitably a persistent session so it can be caught until the session ends.

...