All Questions
Tagged with openfeign spring-mvc
4 questions
0
votes
0
answers
2k
views
How to set request cookie header in Feign Client
I have a basic FeingClient and I need to set a cookie in the request headers so that I have a valid response. I don't really know how to do this, I have tried with @Headers and @Header as well but no ...
0
votes
1
answer
128
views
How can I recieve the id inside a wrapper object on the server side in Spring?
I wrote a controller-client method, which includes a wrapper-object (custom object) in the @PathVariable. This wrapper object is mandatory to do type-based validations inside the @CustomAnnotation.
@...
1
vote
0
answers
487
views
SpringBoot MultipartFile upload between Microservices using OpenFeign
So i have 2 microservices on SpringBoot, A and B. An api call to A must be done from B and it requires the passing of the MultiPartFile using openfeign client.
Problem:
Run into following errors
java....
1
vote
1
answer
605
views
Feign Client fails to compile, it treats BindingResult as a second Body parameter
I'm learning to use Spring's Feign Client, so I've built two simple projects (serviceA and serviceB) to test it out. I have the following code:
serviceA rest interface:
@RequestMapping("/users")
...