Hello,

Try to remove all readers and add just the content-type and method
.removeHeaders("*")
.setHeader(Exchange.CONTENT_TYPE,constant("application/json")) 
.setHeader(Exchange.HTTP_METHOD, constant("POST")) 

After that just see what header caused the problem and handle it somehow.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Http-post-Request-returns-400-error-tp5788101p5788107.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to