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...
Retrofit 2
The Exceptions says that the first @Part doesn't needs a name in the annotation.
@Part
@Multipart @POST(Constants.URL_UPLOAD) Call upload(@Part RequestBody description, @Part MultipartBody.Part file);