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.

Reply via email to