Skip to content

Form requests with parameters of map type are not supported #1211

@brucelwl

Description

@brucelwl

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions