Retrofit 2 simple upload file to server

三世轮回 提交于 2019-12-06 06:08:40

I think one of the first major problems that needs to get fixed here is that your upload route @POST("upload/newVitrine/{userId}") includes userId in the path but your @Parts only include "id" and "description". Also, can we see your imports?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!