title: Send Int in HashMap with Volley
body: <p>i have implemented this answer - <a href="https://stackoverflow.com/a/19945676/4281848">https://stackoverflow.com/a/19945676/4281848</a>
  in my code and it works great, however i am currently trying to send an integer with the hashmap and it is of course saying that it can only send strings, how could i change this to allow sending integers as well as strings</p>
  
  <p>Here is my current code</p>
  
  <pre><code>    HashMap&lt;String, Integer&gt; params = new HashMap&lt;String, Integer&gt;();
                  params.put("uid", userId);
  
                  CustomRequest jsObjRequest = new CustomRequest(Request.Method.POST,
                          jsonUrl,params,
                          new Response.Listener&lt;JSONObject&gt;() {
                              @Override
                              public void onResponse(JSONObject response) {
                                  try {
                                      VolleyLog.v("Response:%n %s", response.toString(4));
                                      int code = response.getInt("code");
                                      String message = response.getString("message");
  
                                  } catch (JSONException e) {
                                      e.printStackTrace();
                                  }
                              }
                          }, new Response.ErrorListener() {
                      @Override
                      public void onErrorResponse(VolleyError error) {
                          VolleyLog.e("Error: ", error.getMessage());
                      }
                  });
  
                  AppController.getInstance().addToRequestQueue(jsObjRequest, tag_json_obj);
  </code></pre>
  
  <p>Thanks for any and all help</p>