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]
