when you using POST, you probably need to set the content-type header as well so that the server can interpret the data.
you can find some examples in the online documentation of the file and http components and you can just combine the two segments of the configuration that fit to your requirement. 2014-04-24 11:28 GMT+02:00 a746076drdrb <a746...@drdrb.net>: > Hello, > > what is the proper way to send file from folder to http endpoint? > > from("file:src/data?noop=true") > .setHeader(Exchange.HTTP_METHOD, constant("POST")) > .to("http://example.com/upload"); > > I couldn't find any example for it > > > > > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-send-file-tp5750523.html > Sent from the Camel - Users mailing list archive at Nabble.com.