Hi,
I would like to intercept the POST /flows API request (at runtime) and add additional logic before its sending a respond to the editor.
After looking at the docs I wasn't able to find hooks or other options to active this behavior.
Currently the only way I was able to detect the request is by accessing the RED.server (NodeRed node http server) object like this:
RED.server.on("request", (req, res) => { ... })
But I'm unable to make it wait for my logic to finish.
Any Ideas will be welcome.
Thanks.