Try sending this request through your browser, and see what happens. Or get
some server logs.

*Thanks and Regards,
Kumar Bibek*
*
http://techdroid.kbeanie.com
http://www.kbeanie.com*



On Thu, Apr 12, 2012 at 9:09 AM, Farhan Tariq <[email protected]> wrote:

>
>
> httpPost.setHeader("Content-Type", "application/x-www-form-urlencoded");
>
> Did not have any effect...
>
> On Thu, Apr 12, 2012 at 8:28 AM, Farhan Tariq <[email protected]>wrote:
>
>> I thought it had something to do with android's http classes. If I am
>> wrong, I am sorry about that, but any help is welcome though.
>>
>>
>> On Thu, Apr 12, 2012 at 8:19 AM, Nikolay Elenkov <
>> [email protected]> wrote:
>>
>>> On Thu, Apr 12, 2012 at 12:14 PM, Farhan Tariq <[email protected]>
>>> wrote:
>>> > I get response code 200, response OK. But the html that gets generated
>>> has
>>> > the form itself. I think I am making the correct post request, but
>>> can't
>>> > figure out why it is not going through. Could it possibly have to do
>>> with
>>> > the form page being in ASP ?
>>> >
>>>
>>> First, this has nothing to do with Android.
>>>
>>> If you get an error, you will most probably be redirected to the same
>>> form.
>>> Make sure your input is correct, test with a browser first. Dump the
>>> response, look for errors, etc.
>>>
>>> --
>>> 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
>>>
>>
>>
>  --
> 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

-- 
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