title: Adding Authorization Header to HTTP POST request in android(Using JSON)
body: <p>My authorization header is "Authorization: TRUEREST username=user &amp;password=pass&amp;apikey=key&amp;class=class". How to put it into HTTPPOST request..?
  I am doing it like : </p>
  
  <pre><code>            HttpClient httpclient = new DefaultHttpClient();
              HttpPost httppost = new HttpPost(url);
              httppost.setHeader("Authorization","TRUEREST");  
              httppost.setHeader("username","user");
              httppost.setHeader("password","pass");
              httppost.setHeader("apikey","key");
              httppost.setHeader("class","class");
  </code></pre>
  
  <p>Credentials don't get send. What is wrong in this code??
  Kindly help..!!
  Thanks in advance.</p>