title: i have a post call with 3 parameters (image,id,type)i need to send to server ,how can i send in retrofit. im using multipart but it won't let me in
body: <p>I'm sending request like this</p>
  
  <pre><code> public interface iUpload{
      @Multipart
      @POST("/uploadmultiplepropimages")
      SamplePojoClass getUploadData(
              @Part("prop_id") MultipartBody.Part prop_id,
              @Part("type") MultipartBody.Part type,
              @Part("prop_photos") MultipartBody.Part prop_photos
      );
  }
  </code></pre>
  
  <p>Here is my declaration and call the response method</p>
  
  <pre><code>RequestBody lRidd = RequestBody.create(MediaType.parse("text/plain"), "10000001");
          RequestBody lRtype = 
  RequestBody.create(MediaType.parse("text/plain"), "single");
  
          RequestBody lRequestBody = RequestBody.create(MediaType.parse("multipart/form-data"), photoFile);
          MultipartBody.Part lFile = MultipartBody.Part.createFormData("prop_photos", photoFile.getName(), lRequestBody);
          MultipartBody.Part idd = MultipartBody.Part.createFormData("prop_id", "10000001");
          MultipartBody.Part type = MultipartBody.Part.createFormData("type", "single");
  uploadImageResponse = RequestResponse.getUploadData(idd,type,lFile);
  </code></pre>
  
  <p>`</p>