TomStrummer wrote:
Hi,

I'm trying to figure out how to add query parameters, i.e. to a HttpGet.  In
HttpClient 3x you had this handy HttpMethodBase.setQueryString which is
exactly what I'm looking for...  Unfortunately it doesn't seem to exist in
v4.

Please take a look at URLEncodedUtils and URIUtils classes.

 I know I can manipulate the URI directly but that is a real pain
compared to a method that takes a list.
Why did this get removed from HttpClient 4?


Because 3.x API was a complete mess.

Oleg

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to