I have the below code
public void uploadDocument(Long utilityPaymentId, File file, String type) { RequestBody requestBody = new MultipartBody.Builder()