Query paremeter and multipart in retrofit android kotline
Hi I have to upload video to server ...
the uploading url is like this
www.exmple.com/upload?id=80
I am using retrofit for same like this
@Multipart
@POST("UploadVideo?")
fun imageVideo( @Part file: MultipartBody.Part, @Query("id") id : String): Call
with this I am not able to upload ... @part and @query not working together.
How I can pass query parameter with multipart