title: Volley not calling getParams() for standard POST request
body: <p>I am trying to post some parameters to my rails API using Volley in Android. This is the code: </p>
  
  <p>I tried with two log statements, one in <code>getParams()</code> and another in <code>getHeaders()</code>. The one in <code>getHeaders()</code> is logged while the other one is not. Why is volley ignoring <code>getParams()</code>?</p>
  
  <pre><code>{
  //full_name,email,password are private variables defined for this class
  
  String url =  "http://10.0.2.2:3000/users/sign_up.json" ; 
  
  JsonObjectRequest jsonObjReq = new JsonObjectRequest(Request.Method.POST,
                   url, null,
                   new Response.Listener&lt;JSONObject&gt;() {
  
                       @Override
                       public void onResponse(JSONObject response) {
                           Log.d(TAG, response.toString());
                           pDialog.hide();
                       }
                   }, new Response.ErrorListener() {
  
                       @Override
                       public void onErrorResponse(VolleyError error) {
                           VolleyLog.d(TAG, "Error: " + error.getMessage());
                           pDialog.hide();
                       }
                   }) {
  
               @Override
               public Map&lt;String, String&gt; getParams() {
                   Map&lt;String, String&gt; params = new HashMap&lt;String, String&gt;();
  
                   //This does not appear in the log
                   Log.d(TAG,"Does it assign params?") ;
  
  
                   params.put("name", full_name.getText().toString());
                   params.put("email",email.getText().toString());
                   params.put("password", password.getText().toString());
  
                   return params;
               }
               @Override
               public Map&lt;String, String&gt; getHeaders() throws AuthFailureError {
  
                   //This appears in the log  
                   Log.d(TAG,"Does it assign headers?") ;
  
                   HashMap&lt;String, String&gt; headers = new HashMap&lt;String, String&gt;();
                   headers.put("Content-Type", "application/json; charset=utf-8");
  
                   return headers;
               }
  
           };
  
          // Adding request to request queue
          VHelper.getInstance().addToRequestQueue(jsonObjReq, tag_json_obj);
  
  }
  </code></pre>