title: How to use setEntity in Android Volley?
body: <p>In httpPost we setEntity(new StringEntity). But I'm using volley right now. I'd like to use that setEntity method in volley. How can I do that?</p>
  
  <p>I would like to use it with Twitter api like this;</p>
  
  <pre><code>HttpPost httpPost = new HttpPost(TwitterTokenURL);
  httpPost.setHeader("Authorization", "Basic " + base64Encoded);
  httpPost.setHeader("Content-Type", "application/x-www-form-  urlencoded;charset=UTF-8");
  httpPost.setEntity(new StringEntity("grant_type=client_credentials"));
  </code></pre>