How to use cURL

Hello guys, i’m trying to use a cURL onliner command to send a contract in, but i need some help.

eSignature show me this cURL: curl -X POST “” -X POST -d ‘{“template_id”:“contract_template”, “signers”:[{“name”:“Sam Signer",“email”:"[email protected]”}]}’

How can i use this cURL in n8n to do my automation???
I’m using HTTP Request node.

Thank you!

Information on your n8n setup

  • n8n version: 0.168.2
  • Database you’re using: SQLite
  • Running n8n
1 Like

Yes, you can do this using HTTP Request Node.

Make sure the JSON/Raw Parameters is selected and Under the Body Content-Type JSON is selected.

Then paste the JSON stuff under Body Parameters.

If you’re not having nested JSON data. you can directly use body parameters

Example workflow:

1 Like

Thank you so much!
It helped me a lot. :smile:

1 Like


I need to do authorization in curl, how do it using HTTP request? Example:

Hey @tomfat,

That is using the user option so you could either create a new credential using basic auth for that value or in the HTTP Request node add a header with a name of Authorization and a value of Basic NDA2Z..... and that should do the job.