title: How to post request and get response with retrofit 2?
body: <p>My service just use post method.</p>
  
  <p><strong>in my code :</strong></p>
  
  <p><strong><em>my ApiInterFace Class</em></strong> </p>
  
  <pre><code>public interface ApiInterface {
  
      @POST("srrvk")
      @FormUrlEncoded
      Call&lt;JoinAllAllowedInnoResponse&gt; GETJOINALLOWEDINNOLIST(@Field("a") Integer lastOrderId, @Field("b") Integer rowCount,@Header("wkey") String wkey);
  
  }
  </code></pre>
  
  <p><strong>and my getArrayList method is like</strong> </p>
  
  <pre><code>  public void getJoinlist(Integer lastOrderId,Integer rowCount){
          showProgressDialog("Please Wait...");
          final String wkey = tinyDB.getString(Constant.wkey);
          Log.d(CLASS_NAME, "wkey          :" +wkey);
          ApiInterface apiService = ApiClient.getClient().create(ApiInterface.class);
          Call&lt;JoinAllAllowedInnoResponse&gt; call = apiService.GETJOINALLOWEDINNOLIST(lastOrderId,rowCount,wkey);
          call.enqueue(new Callback&lt;JoinAllAllowedInnoResponse&gt;() {
             @Override
             public void onResponse(Call&lt;JoinAllAllowedInnoResponse&gt; call, Response&lt;JoinAllAllowedInnoResponse&gt; response) {
                 hideProgressDialog();
                 if (response.body() != null){
                     if(response.body().getEx() == null){
                         List&lt;JoinAllAllowedInno&gt; mJoinList = response.body().getJoinList();
                         mJoinAdapter.setJoinList(mJoinList);
                         if(mJoinList.size() == 0){
                             emptyMessage.setVisibility(View.VISIBLE);
                         }
  
                     }else {
                         getAlert(response.body().getEx());
                     }
                 }
  
             }
  
             @Override
             public void onFailure(Call&lt;JoinAllAllowedInnoResponse&gt; call, Throwable t) {
                 hideProgressDialog();
                 Log.e(CLASS_NAME, t.toString());
             }
         });
      }
  </code></pre>
  
  <p>my question is when I put a breakpoint at response : noting happened ? </p>
  
  <p>Where is the problem ? Any advice or sample code ?</p>
  
  <p><strong>and my son is :</strong></p>
  
  <p>My json uses Dynamic header </p>
  
  <pre><code>"ex": null,
      "c": [
          {
              "INNOID": 8,
              "SHORTDESC": "***************",
              "ORDERID": 1,
              "JOINEND": 1519074000000,
              "LONGDESC": "******************",
              "JOINSTART": 1514754000000,
              "DOCLINK": "*****************************",
              "TEASERVIDEO": "*****"
          },
          {
              "INNOID": 7,
              "SHORTDESC": "***********",
              "ORDERID": 2,
              "JOINEND": **********,
              "LONGDESC": "*****************",
              "JOINSTART": 1514790000000,
              "DOCLINK": "***********************",
              "TEASERVIDEO": "*******************"
          }
      ]
  }
  </code></pre>