Hi,
I am able to call a REST services using AHC component, but there are some
services which accept cookies
as part of their request.
I didn't find info on how to set cookies using AHC component before calling
the web services.
I searched forum, google,stackoverflow as well , but not much info on this.
So finally thought of posting on this forum.
Should I do something like this :
exchange.getIn().setHeader("Cookie", "name=value")
Though I have not tried it out yet. I will try this sometime tomorrow , need
to leave for home now.
I was referring to this url:
http://stackoverflow.com/questions/3467114/how-are-cookies-passed-in-the-http-protocol
If anyone has any info on how to set this , it will be great to know.
Thanks,
Santosh
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-set-cookie-in-Camel-AHC-Asycn-Http-Client-tp5736269.html
Sent from the Camel - Users mailing list archive at Nabble.com.