I am rewriting an old REST service written in an in-house framework to use Spring. I have a Controller with a POST method which takes a parameter either as a POST or as
I also met a similar case you, Please replace @ModelAttribute("some_property") with @RequestBody.
@ModelAttribute("some_property")
@RequestBody
Hope to help you!