I'm using Spring Boot and Spring MVC and I need to make a GET with a request body. Is this possible?
I tried this but it's not working. I get 404.
@RestController
@RequestMapping("/api")
public class HomeController {
@GetMapping("/v1/foo")
public ApiRes postBody(@RequestBody ApiReq apiReq) {
...
}
}