Android / Retrofit - how to upload a file without multipart (as binary) for Kotlin
interface UploadService { @Headers("Content-Type: image/jpeg") @POST("/files") fun uploadFile(@Body file: TypedFile): Observable<UploadedFile> }