Be able to export a cURL from a n8n HTTP Request node

The idea is:

Be able to export a cURL from a HTTP Request node, similar to the import feature

My use case:

I’d like to run cURL directly to test when the node is not working properly

I think it would be beneficial to add this because:

This will make it easy to test and move data back and forth to n8n

Any resources to support this?

https://curlconverter.com/ is great and has a npm package

Are you willing to work on this?

If you point me where is the best place to add this functionally, I can have someone in my team to work on this

This would be a huge help

this would be handy for sure, +1 but out of votes at the moment.

This is:

  1. Easy to implement
  2. Extremely helpful when debugging requests

Might make a PR.

1 Like

+1 for this! :+1:

1 Like

+1 for this feature.
Until then, in what other ways are we doing this?

The best solution right now is to copy the HTTP node’s JSON, paste it into an AI chat, and ask it to generate a curl command based on the HTTP node.

This approach works quite well for me.

But an actual ‘Copy as cURL‘ button in the HTTP node would be better ofc!