title: Android Volley getParams() method not getting called for JsonObjectRequest
body: <p>I have overrided <code>getParams()</code>, and <code>mEmail</code>, <code>mUsername</code> etc. are globally declared.</p>
  
  <pre><code>@Override
  public Map&lt;String, String&gt; getParams() throws AuthFailureError {
      Map&lt;String,String&gt; params = new Hashtable&lt;String, String&gt;();
  
      params.put("Email", mEmail.getText().toString().trim());
      params.put("Username",mUsername.getText().toString().trim());
      params.put("Password",mPassword.getText().toString().trim());
      params.put("BirthDay",mBirthday.getText().toString().replaceAll("\\s","-"));
      params.put("Sex",SelectedRadio());
      params.put("Bitmap",getEncodedBitmap());
  
      return params;
  }
  </code></pre>
  
  <p>This is my server side code:</p>
  
  <pre><code>&lt;?php
  require "init1.php";
  
  $email = $_POST["Email"];
  $password = $_POST["Password"];
  $Username  = $_POST["Username"];
  $Sex = $_POST["Sex"];
  $ProfilePicture = $_POST["Bitmap"];
  
  $timestamp = strtotime($_POST["BirthDay"]);
  $BirthDay = date('Y-m-d',$timestamp);
  
  $sql = "select * from Registered_Users where Username='$Username'";
  $sqle = "select * from Registered_Users where Email='$email'";
  try{
      $result1 = mysqli_query($con, $sqle) or die(mysqli_error($con));;
      $result = mysqli_query($con, $sql) or die(mysqli_error($con));;
  } catch(Exception $e) {
      echo $e-&gt;getMessage();
  }
  
  if (mysqli_num_rows($result) &gt; 0){
      $myclass = new stdClass();
      $myclass-&gt;status="Not Ok";
  
      echo json_encode($myclass);
  } else if(mysqli_num_rows($result1) &gt; 0) {
      $myclass = new stdClass();
      $myclass-&gt;status="Not Ok";
  
      echo json_encode($myclass);
  } else{
      try{
          $sql_query = "insert into Registered_Users (Email, Password, BirthDay, Sex, Username, ProfilePicture) values('$email', '$password', '$BirthDay', '$Sex', '$Username', '$ProfilePicture')";
  
          if(mysqli_query($con,$sql_query)){
              $obj1 = new stdClass();
              $obj1-&gt;status="Ok";
  
              echo json_encode($obj1);
          } else {
              $obj1 = new stdClass();
              $obj1-&gt;status="Not Ok ";
          }
      } catch(Exception $e) {
          echo $e-&gt;getMessage();
      }
  }
  ?&gt;
  </code></pre>
  
  <p>The response I am getting is always <code>not ok</code>, becasuse I already have an empty row in my database, and I am trying upload an empty row again. Can someone tell why I am not able to get the data? Why am I getting empty data?</p>