hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin Kudla <marcin.ku...@googlemail.com>
Subject POST parameters problem
Date Wed, 22 Apr 2009 08:50:00 GMT
Hello

I want add my custom POST parameter to request.
I use org.apache.http.client.HttpClient for it and code fragment looks like
:

HttpClient httpClient = new DefaultHttpClient();
HttpUriRequest request = new new HttpPost("http://some.uri");
request.getParams().setParameter("name", "value");
httpClient.execute(request);

But when it executes custom parameter doesn't send.
Any suggestion will be highly appreciated.

Regards
Marcin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message