ok, now it's better, but I have still some questions...
-
How can I set a list of options if I have data?
There it's used a text field and I can't use a text field
-
I have the data in the js file, can I use simply this to define an API endpoint?
Maybe it isn't clear when you say 'You can't just put /'
RED.httpAdmin.get("/devices", function(req,res) {
devices.list(function (err, devices) {
res.json(devices);
});
});