title: Volley POST REQUEST error 500
body: <p><strong>JSON:</strong></p>
  
  <pre><code>{
    "isRegistrationSuccess":"true"
  }
  </code></pre>
  
  <p>This what my backend should provide while user successfully register in system. I am sending Name, Email and Password as parameters. I am getting 500 error. </p>
  
  <pre><code>/Volley: [188] BasicNetwork.performRequest: Unexpected response code 500 for http://100.100.202.200/mobile/register?name=admin&amp;email=admin@nomail.com&amp;password=admin123
  </code></pre>
  
  <p>Although, I can see the user information in my backend. Here is my code:</p>
  
  <pre><code>RequestQueue queue = Volley.newRequestQueue(this);
          String url_to_parse = getLink(name,email,password).trim();
          StringRequest stringReq = new StringRequest(Request.Method.POST, url_to_parse, new Response.Listener&lt;String&gt;() {
              @Override
              public void onResponse(String response){
                  try{
                      Log.d("Response",response);
                      JSONArray obj = new JSONArray();
                      boolean isLoginSuccess = Boolean.parseBoolean(obj.getString(0));
                      if(isLoginSuccess){
                         onSignupSuccess();
                      }else{
                          onSignupFailed();
                      }
                  }catch (JSONException e){
                      e.printStackTrace();
                      onSignupFailed();
                  }
              }
          }, new Response.ErrorListener() {
              @Override
              public void onErrorResponse(VolleyError error) {
                 onSignupFailed();
                  Log.e("Error",String.valueOf(error.getMessage()));
              }
          });
          queue.add(stringReq);
  </code></pre>
  
  <p>I am not sure what is wrong I am doing here? How can I solve it?</p>