Hi,
'
Is it possible to run curl command in camel routes?
--
View this message in context:
http://camel.465427.n5.nabble.com/curl-tp5771624.html
Sent from the Camel - Users mailing list archive at Nabble.com.
You can use the exec component
http://camel.apache.org/exec
On Fri, Sep 18, 2015 at 10:11 AM, Suganya wrote:
> Hi,
> '
> Is it possible to run curl command in camel routes?
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/curl-t
.465427.n5.nabble.com/curl-tp5771624p5772053.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I think you didn't escape the quotation marks inside the -d value which is
the JSON. Try
or better - store this json as is in a file "/tmp/1.json", and use
--data-binary @/tmp/1.json to send it in curl.
On Mon, Sep 28, 2015 at 1:28 PM, Suganya wrote:
> Hi,
>
> Thanks
camel.465427.n5.nabble.com/curl-tp5771624p5772180.html
Sent from the Camel - Users mailing list archive at Nabble.com.
her stuffs as well but none seem to work.
--
View this message in context:
http://camel.465427.n5.nabble.com/curl-tp5771624p5772195.html
Sent from the Camel - Users mailing list archive at Nabble.com.
"RequestAction": "UpdateOrderInformation",
"ErrorType": "Sender",
"ErrorCode": "7",
"ErrorMessage": "E007: Login failed. Signature mismatch"
},
"Body": "&quo
tAction": "UpdateOrderInformation",
> "ErrorType": "Sender",
> "ErrorCode": "7",
> "ErrorMessage": "E007: Login failed. Signature mismatch"
> },
> "Body": ""
Hi all,I'm implementing a rest endpoint receive a multipart form data (upload
file). I did test my implementation with postman (chrome extension) and with
httpclient, both of them work well, except curl.*My
route:*rest(CommonConstants.BASE_CONTEXT_PATH)
.description("U