camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suganya <>
Subject Re: curl
Date Mon, 28 Sep 2015 10:28:59 GMT

Thanks for your reply.

The GET command is working using the exec component.

But I am stuck with the POST or the PUT command. The input data is in JSON
format. But I am unable to pass it.

Where am I going wrong? below is the command.

<to uri="exec:curl?args=--silent --cacert {{cacertFile}} --key {{keyFile}}
--cert {{certFile}} -H 'Content-Type: application/json' -X POST
{{host}}/tenants -d '{"id":"12353200","name": "tenant1","description":
"tenant description"}' -u {{user}} --sslv3"/>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message