Quantcast
Channel: Error uploading a file using Retrofit 2 - Stack Overflow
Browsing all 3 articles
Browse latest View live

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 Article



Answer 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 Article

Error 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
Browsing all 3 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>