Using an HTTP request, I want to get the 100 last messages of my sigfox device.
The problem is that the 100 messages are put one after the other in the msg.payload.
It looks like this :
So, I want to organise this data in the following way :
message 1 :
message 2 :
message n :
message 100 :
I have no idea how to obtain this result.
Someomne know how to do that ?
First things first, set the http request node to parse JSON to object
Then you can access any element you need.
Here is some canned text to help...
There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path to any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.