I used to send by Base64
Observable.fromCallable {
val sampledBitmap = decodeSampledBitmapFromFilePath(photoPath, 500, 500)
File(photoPath).delete()
bitmapToBase64(sampledBitmap)
}
.subscribeOn(Schedulers.io())
Now I want to substitute bitmapToBase64 to MULTIPART ENCODING