One observation,
1)The second URI is appended with First URI Path

i.e, http://locahost:8090/dept/employee

2)How to avoid this and put other parameters like method
,encoding,formParam.

I use the below code still doesnt work

 .setHeader("CamelHttpMethod",constant("POST"))
                     
.setHeader("Content-Type",constant("application/form-urlencoded"))
 .setHeader("ID",constant("1234"))                  
 .setHeader("dept",constant("IT"))


Need a quick sample to resolve this.

Thanks,
Sayed



--
View this message in context: 
http://camel.465427.n5.nabble.com/calling-a-REST-Service-POST-method-with-parameters-from-another-REST-Service-tp5757939p5757947.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to