Zheng Feng created CAMEL-17865:
----------------------------------
Summary: 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
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)