You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Karthikeyani K <ka...@yahoo.com> on 2004/08/20 17:30:02 UTC
PostMethod setQueryString
Hi,
What is the difference between invoking setQueryString(NameValuePair[]) and setRequestBody(NameValuePair[]) on PostMethod.
When we try to use setQueryString(NameValuePair[]), we are getting the response back.
But when we try to use setRequestBody(NameValuePair[]), we are getting the response 500.
Does PostMethod.setQueryString(NameValuePair[]) pass parameters in the requestbody? Is it similar to PostMethod.setReqeustBody(NameValuePair[]).
Thanks,
Karthi
---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.