For updating a file on the server using API. public void uploadProfilePic(File file) { ApiClient.getClient().create(Retrofit...