Hi See the section _Calling using GET or POST_ at http://camel.apache.org/http
On Sun, Jun 22, 2014 at 6:11 AM, madhu_online1 <[email protected]> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
