title: Android Volley Request with Body
body: <p>Is it possible to send a simple text in the body of a StringRequest using DELETE-Method?</p>
  
  <p>I couldn't find any example where somebody put something in the body of a request...
  This is my request and I want to add "{'deviceid':'xyz'}" to the body (method is DELETE):</p>
  
  <pre><code>final StringRequest stringRequest = new StringRequest(method, url + "?token=" + token, new Response.Listener&lt;String&gt;() {
          @Override
          public void onResponse(String jsonResponse) {
              // do something
      }, new Response.ErrorListener() {
              // do something
          }
      }) {
  
          @Override
          public Map&lt;String, String&gt; getHeaders() throws AuthFailureError {
              HashMap&lt;String, String&gt; headers = new HashMap&lt;String, String&gt;();
              headers.put("api-version", "1");
  
              return headers;
          }
      };
  </code></pre>