Post content without params using DefaultHttpClient in android
<p>I would like to post the content to the server url without any params from the below code </p>

<pre><code>String data = "DQoJPElQQ29tbWFuZCBDb21t+PElQQ29tbWFuZHM+DQoJPElQQ29tbWFuZCBDb21t+DQoJPElQQ29tbWFuZCBDb21t";
try {
    nameValuePairs.add(new BasicNameValuePair("mydata", data));
    httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
    HttpResponse response = client.execute(httppost);
    str = new Scanner(response.getEntity().getContent(), "UTF-8").useDelimiter("\\A").next();

    Log.v("srv response:", str);
} catch (SecurityException e) {}
</code></pre>

<p>I need to post the data to the server without params like "mydata"  // <code>nameValuePairs.add(new BasicNameValuePair("mydata", data));</code></p>

<p>I don't want to <code>UrlEncodedFormEntity</code> the data, I need to post simply exact data what I have in String data</p>

<p>any one have idea ?? how to manage ?</p>
