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

Allow Request Header on a feign Client

Open xenoterracide opened this issue 3 years ago • 0 comments
trafficstars

To be honest I've already forgotten a bit about this. I tried to add a request header using spring annotations to a Feign Client interface (the "class" not method). I was told I couldn't do it there. It would be incredibly useful to do so as we have different api endpoints at the same base url but different nested url's that all of the same nested path uses the application/json;v=1 for example, different nested paths (thus different interfaces), might be like application/json;v=2.

xenoterracide avatar Sep 30 '22 22:09 xenoterracide