Hi, how can i to run curl with the node executeCommand?
i need to do this.
There is nothing special to be done. Just type in the command you want to run:
curl https://example.com
The only thing you have to make sure, is that curl is installed.
If you run n8n via npm, you have to install it on the host directly.
If you run it via docker, you have to create your own docker-image which extends the base image and installs curl.
Here a previous topic which talks exactly about that:
1 Like
Thanks @jan I will try do this
I was able to solve the problem with these instructions:
https://newbedev.com/can-t-run-curl-command-inside-my-docker-container
In summary:
Get Container ID
docker ps
Open Container using that ID
docker exec -it /bin/sh
Install curl into the Container
apk add curl
That worked for me.
2 Likes