Not sure I understand your solution. Can you explain?

Kumar.




________________________________
From: John Smith <[email protected]>
To: HttpClient User Discussion <[email protected]>
Sent: Thursday, June 24, 2010 14:59:46
Subject: Re: Preventing parameters from being encoded

You can something lika that:

byte[] params = yourParamsString.getBytes();
postEntityParams = new ByteArrayEntity(params);

On Thu, Jun 24, 2010 at 11:48 PM, Kumar Mettu <[email protected]> wrote:
> Hi,
>
>  I am using Apache HTTP client POST method.
>  When sending parameters to server in the post method, the paramters are 
> encoded by Apache Client. For example the following message parameter
>     post.addParameter("message", "my\"simple\" message");
>  is sent to server as
>     my "simple" message.
>
>  How do I prevent Apache HTTP client encoding the parameters?
>
> Thanks In Advance,
>
> Kumar.
>
>
>

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

Reply via email to