Possible Duplicate:
How to do a HTTP Post in Android?
I want to send the two values to a server ,say http://localhost/twoVal.php, which will further process the information.
for example,
i have got the val1 = 12 and val2 = 13 i want to post these data to above mentioned URL. (May be some URL need not be localhost) how to do it? Also, data needs to be sent as part of HTTP header (POST) & not as query parameters.