Either should work. The only difference is one adds and one overwrites.
Mike
On Friday, August 15, 2003, at 03:13 AM, Ortwin Gl�ck wrote:
Anu,
you should use authpost.addParameters(new NameValuePair[] {action, url})
and not setRequestBody.
HTH
Odi
NameValuePair action = new NameValuePair("url", "Books");
NameValuePair url = new NameValuePair("field-keywords", "java");
authpost.setRequestBody(new NameValuePair[] {action, url});
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
