-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headers annotation not sending headers #983
Comments
Okay, I figured out the issue... You have to use the built in headers as part of the RequestMapping.
I guess I was referencing a different Feign Client implementation... kind of confusing It might be worth adding a header example in the documentation: https://cloud.spring.io/spring-cloud-openfeign/reference/html/ |
Hello @toadornode, yes, we do not recommend mixing the Spring Cloud OpenFeign and native Feign annotations on one method. |
@OlgaMaciaszek I would recommend that you explicitly document this then. Right now you are referencing feign documentation in a lot of places, when in fact the feign documentation is just incompatible with this project. |
Will do. |
I'm not sure what I'm doing wrong here.
I've included spring cloud open feign dependency
Then in my feign client interface
Yet, the header does not get sent.
If I make the implementation like the following then it gets sent
The text was updated successfully, but these errors were encountered: