Skip to content

method.content.type

Set the content type for the request body.

Usage

properties
method.content.type=groovy:it.hasAnn("org.springframework.web.bind.annotation.PostMapping") ? "application/json" : null

Released under the Apache-2.0 License.