feign.FeignException$MethodNotAllowed: status 405 reading

因为Feign 发现有body就会强制把GET转换成POST
application.yml

feign:
  httpclient:
    enabled: true

pom.xml

		
            org.apache.httpcomponents
            httpclient
            4.5.9
        
        
            io.github.openfeign
            feign-httpclient
            10.2.3
        

你可能感兴趣的:(Spring,Cloud,Feign)