Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
2dor's user avatar
  • 1,011
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. @...
Limon's user avatar
  • 214
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....
Sumanth Balaji's user avatar
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") ...
DraegerMTN's user avatar
  • 1,151