<Retrofit2 upload image onFailure with throw back ...
# stackoverflow
u
Retrofit2 upload image onFailure with throw back error okhttp3.internal.http2.ConnectionShutdownException

Post Header

Post Body

In Postman I have no problem to upload my image to API, but if I using retrofit it always throw back error okhttp3.internal.http2.ConnectionShutdownException. I have no problem to post json data with retrofit, just image with multipart it won't work. But strange is it work fine in Postman. @Multipart...