title: send multiple datatype parameters in retrofit post api android
body: <p>i want to send multiple parameter with different datatype in retrofit.retrofit post service not working neither giving error my code:</p>
  <p>Api</p>
  <pre><code>    public class Api {
      private static Retrofit retrofit = null;
      public static ApiInterface getClient() {
  
      // change your base URL
      if (retrofit==null) {
          retrofit = new Retrofit.Builder()
                  .baseUrl(&quot;https://ezyviewbooker.com/api/auth_v1/&quot;)
                  .addConverterFactory(GsonConverterFactory.create())
                  .build();
      }
      //Creating object for our interface
      ApiInterface api = retrofit.create(ApiInterface.class);
      return api; // return the APIInterface object
  }
  
  }
  </code></pre>
  <p>my interface code ApiInterface:</p>
  <pre><code>public interface ApiInterface {
  
  @FormUrlEncoded // annotation used in POST type requests
  @POST(&quot;candidate_resume_upload_store&quot;)
      // API's endpoints
  Call&lt;Void&gt; registration(@Field(&quot;category_id&quot;) String category_id,
                                    @Field(&quot;full_name&quot;) String full_name,
                                    @Field(&quot;country&quot;) String country,
  
                                    @Field(&quot;address&quot;) String address,
                                    @Field(&quot;personal_question_id&quot;) ArrayList&lt;String&gt; personal_question_id,
                                    @Field(&quot;personal_answer_id&quot;) ArrayList&lt;String&gt; personal_answer_id,
  
                                    @Field(&quot;competencies_skills&quot;) ArrayList&lt;String&gt; 
                                 competencies_skills,
                                    @Field(&quot;work_responsibilities&quot;) ArrayList&lt;String&gt; 
                                    work_responsibilities,
                                    @Field(&quot;interest_hobbies&quot;) ArrayList&lt;String&gt; 
                                    interest_hobbies,
  
                                    @Field(&quot;societies&quot;) ArrayList&lt;String&gt; societies,
                                    @Field(&quot;reference_name&quot;) String reference_name,
                                    @Field(&quot;reference_position&quot;) String reference_position,
  
                                    @Field(&quot;reference_email&quot;) String reference_email,
                                    @Field(&quot;reference_number&quot;) String reference_number,
                                    @Field(&quot;token&quot;) String token,
                                    @Field(&quot;city&quot;) String city);
  
  
  
  
  
     }
  </code></pre>
  <p>main activity Home Activity:</p>
  <pre><code>  public class Home extends AppCompatActivity {
  
  ArrayList&lt;String&gt; interest;
  ArrayList&lt;String&gt; question;
  ArrayList&lt;String&gt; answers;
  ArrayList&lt;String&gt; skills;
  ArrayList&lt;String&gt; resposnsibilties;
  ArrayList&lt;String&gt; socities;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_home);
      interest=new ArrayList&lt;String&gt;();
      question=new ArrayList&lt;String&gt;();
      answers=new ArrayList&lt;String&gt;();
      skills=new ArrayList&lt;String&gt;();
      resposnsibilties=new ArrayList&lt;String&gt;();
      socities=new ArrayList&lt;String&gt;();
  
      socities.add(&quot;IPSC&quot;);
      socities.add(&quot;IPSC_@&quot;);
  
      interest.add(&quot;IPSC&quot;);
      interest.add(&quot;IPSC_@&quot;);
  
      question.add(&quot;11&quot;);
      question.add(&quot;20&quot;);
      question.add(&quot;21&quot;);
      question.add(&quot;22&quot;);
      answers.add(&quot;9&quot;);
      answers.add(&quot;10&quot;);
  
      resposnsibilties.add(&quot;app developing&quot;);
      resposnsibilties.add(&quot;Team work&quot;);
  
      skills.add(&quot;Swift&quot;);
      skills.add(&quot;JAVA&quot;);
      signUp();
  }
  private void signUp() {
      // display a progress dialog
      final ProgressDialog progressDialog = new ProgressDialog(Home.this);
      progressDialog.setCancelable(false); // set cancelable to false
      progressDialog.setMessage(&quot;Please Wait&quot;); // set message
      progressDialog.show(); // show progress dialog
  
  
  
      (Api.getClient().registration(&quot;1&quot;,
              &quot;Khan&quot;,
             &quot;pakistan&quot;,
              &quot;Baheria town&quot;,
              question,
              answers,
              skills,
              resposnsibilties,
              interest,
              socities,
              &quot;Jon&quot;,
              &quot;Senior Graphic Designer&quot;,
              &quot;jon@gmail.com   &quot;,
              &quot;09009456788&quot;,      
              &quot;eyJ&quot;,
              &quot;karachi&quot;)).enqueue(new Callback&lt;Void&gt;() {
          @Override
          public void onResponse(Call&lt;Void&gt; call, Response&lt;Void&gt; response) {
  
  
              progressDialog.dismiss();
  
          }
  
          @Override
          public void onFailure(Call&lt;Void&gt; call, Throwable t) {
              Log.d(&quot;response&quot;, t.getStackTrace().toString());
              Toast.makeText(Home.this, 
              t.getStackTrace().toString(),Toast.LENGTH_LONG).show();
              progressDialog.dismiss();
  
          }
      });
  }
   }
  </code></pre>
  <p>there are five arraylist eg: interest,soicties etc i want to send along with other String like name address etc</p>