title: Can't get HttpParams working with Postrequest
body: <p>I can't get the HttpParams-stuff from the Android-API working.</p>
  
  <p>I just wan't to send some simple Parameters with my Postrequest. Everything is working fine, except for the parameters. The code to set the parameters to the postrequest:</p>
  
  <pre><code>HttpParams params = new BasicHttpParams();
  params.setParameter("password", "secret");
  params.setParameter("name", "testuser");
  postRequest.setParams(params);
  </code></pre>
  
  <p>It seems that this code isn't adding any parameter at all, as the server always answer, that my request is missing the "name"-parameter.</p>
  
  <p>An example of what is actually working as expected:</p>
  
  <pre><code>ArrayList&lt;NameValuePair&gt; postParameters = new ArrayList&lt;NameValuePair&gt;();
  postParameters.add(new BasicNameValuePair("name", "testuser"));
  postParameters.add(new BasicNameValuePair("password", "secret"));
  UrlEncodedFormEntity formEntity = new UrlEncodedFormEntity(postParameters);
  postRequest.setEntity(formEntity);
  </code></pre>
  
  <p>But I would like to use a version of the first example, as it is easier to read and understand.</p>
  
  <p>Any hint is really appreciated!</p>