How to start/stop a node in nodered from nodejs application

Hi,

We have a requirement to load all flows details created in nodered from external like using angularjs /nodejs, also to start /stop the node (inject node) from outside nodered.

I have referred https://nodered.org/docs/api/admin/ for getting the flows and details using API but I'm unable to see any API to start a node inside a specific flow.

Appreciate your support on my challenge.

Thanks!

why not create your own http endpoint in Node-RED to catch any commands you want to fire at it and control the flow that way. You shouldn't really be using admin api for user actions.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.