Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.16.0
-
None
-
Unknown
Description
It response 400 when the rest define with consumes and CORS enabled.
restConfiguration().component("platform-http").enableCORS(true); rest("/rest") .post() .consumes("application/json") .to("direct:rest"); from("direct:rest") .setBody(simple("Hello ${body}"));
Attachments
Issue Links
- links to