How to download File
with open-feign, it's possible?
for example:
@RequestLine("GET /file")
File from (@Param("param") String param);
How to download File
with open-feign, it's possible?
for example:
@RequestLine("GET /file")
File from (@Param("param") String param);
Are you using Spring?
You can use this code:
@RequestMapping(
value = "/multipart/download/{fileId}",
method = GET)
MultipartFile[] download(@PathVariable("fileId") String fileId);
Check the tutorial in the official Github.