Feign 报错:Request method 'POST' not supported 2021-08-05 spring-cloud 如果Fegin代理的是get请求,那么请求参数必须带上@RequestParam 或@RequestBody 错误: 123456@FeignClient("dashboard")public interface DashboardClient { @GetMapping("projects/getApiKeyByProjectId") String getApiKeyByProjectId(Integer projectId);} 正确: 123456@FeignClient("dashboard")public interface DashboardClient { @GetMapping("projects/getApiKeyByProjectId") String getApiKeyByProjectId(@RequestParam Integer projectId);} 上一篇 单点kafka的安装配置 下一篇 搭建elasticsearch集群报错:with the same id but is a different node instance