我找到了解决方案。基本描述如下:
http://cloud.spring.io/spring-cloud-static/spring- cloud.html#_uploading_files_through_zuul
我做了什么使它工作。只需一步一步:
来自: http:// localhost:8081 / MyService / file
到: http:// localhost:8081 / zuul / MyService / file
spring:
http:
multipart:
enabled: false
以下标头不是必需的。传输编码:分块