Doesn't setParams(HttpParams params) method suit you? It is declared
in HttpMessage which is one of interfaces implemented by HttpPost

On 14 May, 12:40, pawan nimje <[email protected]> wrote:
> I want to send a post request. This is what i have done-
>
> HttpClient client = new DefaultHttpClient();
> HttpPost httpost = new HttpPost(POST_URL);
> StringEntity se = new StringEntity(j.toString());
> httpost.setEntity(se);
> httpost.setHeader("Accept", "application/json");
> httpost.setHeader("Content-type", "application/json");
> ResponseHandler<?> responseHandler = new BasicResponseHandler();
> Object response = client.execute(httpost, responseHandler);
>
> But along with the post request i want to set multiple form parameters of
> the POST_URL using post request.
> How do I do that?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to