Cannot curl or perform HTTP requests in Docker

Original posted here: Cannot curl or perform HTTP requests in Docker · Issue #386 · n8n-io/n8n · GitHub

For some reason I cannot seem to get any data back from any API’s either via CURL in the Command Node or via the HTTP Request Node. It says that the workflow was submitted successfully but doesn’t return any data to me. If I run the command locally myself (on the docker host), it returns data correctly as expected.
Please let me know if you have any tips/advice

Hello @joshghent! Welcome to the community!

That is expected as the Docker image does not contain curl and so it can not be used. If you want to make an HTTP Request simply use the HTTP Request Node as it is specially made to make requests like that.

I hope that helps.

Hi @jan as per my original post, I cannot get any data back via the http request module either…

Not with any URL or just the example you did post?

Thanks for getting back to me @jan, No not with any URL at all
I’ve tested it with https://swapi.co/api/people/1 and it’s completely successfully but returned nothing

So if you execute this node you do not get any date?

And did you really execute the node? Like if you for example press the “Execute Node” button on the top right in the picture you posted?