On Thu, 2011-05-19 at 23:42 +0000, KARR, DAVID (ATTSI) wrote: > I have some code using HttpClient 4.1.1 that is doing a POST, and it appears > to be working. It's adding a couple POST parameters to the params property > on the HttpPost. After I had this working for a while, I noticed that > examples using HttpClient to send POSTs always create a UrlEncodedFormEntity > and add the params to that, instead of what I'm doing. Is there any reason I > shouldn't be adding the POST parameters directly to the params object on the > HttpPost instance? >
http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html#d4e310 http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html#d4e191 Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
