I\'m trying to accomplish a multipart file upload using feign, but I can\'t seem to find a good example of it anywhere. I essentially want the HTTP request to turn out simil
If you are already using Spring Web, you can try my implementation of a Feign Encoder that is able to create Multipart requests. It can send a single file, an array of files alongwith one or more additional JSON payloads. Here is my test project. If you don't use Spring, you can refactor the code by changing the encodeRequest method in FeignSpringFormEncoder.