title: Volley JsonObjectRequest Post request not working
body: <p>I am using android Volley for making a request. So I use this code. I don't understand one thing. I check in my server that params is always null. I consider that getParams() not working. What should I do to solve this issue.</p>
  
  <pre><code> RequestQueue queue = MyVolley.getRequestQueue();
          JsonObjectRequest jsObjRequest = new JsonObjectRequest(Request.Method.POST,SPHERE_URL,null,
                  new Response.Listener&lt;JSONObject&gt;() {
                      @Override
                      public void onResponse(JSONObject response) {
                          System.out.println(response);
                          hideProgressDialog();
                      }
                  },
                  new Response.ErrorListener() {
                      @Override
                      public void onErrorResponse(VolleyError error) {
                        hideProgressDialog();
                      }
                  }) {
              protected Map&lt;String, String&gt; getParams() throws AuthFailureError {
                  Map&lt;String, String&gt; params = new HashMap&lt;String, String&gt;();
                  params.put("id","1");
                  params.put("name", "myname");
                  return params;
              };
          };
          queue.add(jsObjRequest);
  </code></pre>