Best way to run a curl command?

One question to ask is what degree of reporting or error handling do you want? There are a few different ways to execute commands, such as the exec node. Sometimes I want unique exception handling, so go beyond the basic exec model. Or may be you want to use spawn as via asynch execution, for example. The way to execute commands from node js cover wide range of features. I am actually working on a node, an experiment, on parallel command execution, using worker threads for example, using spawn.

Here is a short discussion on when you might want to use the different options to execute commands. Not al modes or types of such are visible in node red that I have discovered so far, but people are adding new nodes all the time.
https://nodejs.org/en/knowledge/child-processes/how-to-spawn-a-child-process/