Answer by Jaythaking for Error uploading a file using Retrofit 2
I fix my issue using this link : https://github.com/square/retrofit/issues/1063#issuecomment-145920568This is the solution of the problem:@Multipart@POST ("/api/Events/editevent")Call<Event>...
View ArticleAnswer by Tom Sabel for Error uploading a file using Retrofit 2
The Exceptions says that the first @Part doesn't needs a name in the annotation.@Multipart@POST(Constants.URL_UPLOAD)Call<ResponseBody> upload(@Part RequestBody description, @Part...
View ArticleError uploading a file using Retrofit 2
I'm trying to upload a file (picture) to the server using Retrofit 2. I'm following that tutorial which seems pretty easy at first, but didn't work in my case... When I call the API function, i'm...
View Article