Hello guys, i’m trying to use a cURL onliner command to send a contract in eSignature.io , but i need some help.
eSignature show me this cURL: curl -X POST “https://esignatures.io/api/contracts?token=your-token ” -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 via:n8n.cloud
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.
1 Like
tomfat
August 1, 2022, 9:12am
4
Hi.
I need to do authorization in curl, how do it using HTTP request? Example:
Jon
August 1, 2022, 10:07am
5
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.