spring-cloud-openfeign icon indicating copy to clipboard operation
spring-cloud-openfeign copied to clipboard

Form requests with parameters of map type are not supported

Open brucelwl opened this issue 5 months ago • 1 comments
trafficstars

The following is a feign interface I defined, I want to receive all the form request parameters through Map, which can run correctly in springmvc

@PostMapping(path = "/requestMap", consumes = "application/x-www-form-urlencoded")
Store requestMap(@RequestParam Map<String, String> params);

but I found that when feign client requests, the parameters are placed on the URL, not in the body of the FORM

brucelwl avatar Jun 19 '25 12:06 brucelwl