Skip to content Skip to sidebar Skip to footer

Bad Request While Sending Multiple Images Through Retrofit 2.3.0 In Android

I used to send multiple images to server through retrofit 2.3.0 , but I got bad request (400 err0r) my code: ArrayList multiImagesList = new Arra

Solution 1:

Everything which you have written correctly, but error must be in API backend. Please re-check it. For me I checked in postman it is being uploaded even though the API doesn't allowing when it is being fired by mobile. They must allow form-data. :) I hope your issue would be solved.


Post a Comment for "Bad Request While Sending Multiple Images Through Retrofit 2.3.0 In Android"