To start off, you should be using HttpClient 4.2.1, unless you have a
specific reason to be using the 3.x series. I'm going to answer for
4.2.1...

On Wed, Aug 29, 2012 at 7:35 PM, ForumWebUser Sir
<[email protected]> wrote:
> What this have in special is this:
>
> # a first word that it is not exactly a parameter, because it doesn have a
> value.

Creating a BasicNameValuePair with a value of null should work.

> # the last values have a ":" character.

For POST as application/x-www-form-urlencoded the character ":" is
reserved, and thus must be encoded. I suggest you change the server
app to properly handle this.

If you can't for some reason, look at using StringEntity or
ByteArrayEntity. These will let you send a request body as is.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to