[ https://issues.apache.org/jira/browse/CAMEL-17865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zheng Feng updated CAMEL-17865: ------------------------------- Fix Version/s: 3.14.3 3.17.0 > camel-platform-http-vertx: CORS conflict in Camel REST > ------------------------------------------------------ > > Key: CAMEL-17865 > URL: https://issues.apache.org/jira/browse/CAMEL-17865 > Project: Camel > Issue Type: Bug > Components: camel-platform-http-vertx > Affects Versions: 3.16.0 > Reporter: Zheng Feng > Assignee: Zheng Feng > Priority: Major > Fix For: 3.14.3, 3.17.0 > > > It response *400* when the rest define with *consumes* and CORS enabled. > > {code:java} > restConfiguration().component("platform-http").enableCORS(true); > rest("/rest") > .post() > .consumes("application/json") > .to("direct:rest"); > from("direct:rest") > .setBody(simple("Hello ${body}")); {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)