Deploying a flow file remotely in node-red without overwriting the entire flow file

I want to import a json file into node-red dynamically instead of doing it manually, and I tried to use curl command 'curl -X POST http://localhost:1880/flows -H "Content-Type: application/json" --data "@myflow.json"', I successfully saw the new flow inside but it overwrote all my previous flows, also the /data/flows.json has been overwritten, however, I would like to add the new flow after the previous one, is it possible to do this?

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