camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madhu_online1 <Nair.Ma...@aoins.com>
Subject Re: Getting Bad Request response invoking REST web service
Date Sun, 22 Jun 2014 04:11:52 GMT
I was missing this:-
.setHeader(Exchange.HTTP_METHOD, constant("GET"))



works now..surprising it wouldn't use a GET by default.






--
View this message in context: http://camel.465427.n5.nabble.com/Getting-Bad-Request-response-invoking-REST-web-service-tp5752659p5752661.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message