I want to send the JSON text {} to a web service and read the response. How can I do this from android? What are the steps such as creating request object, setting content h
I do this with
httppost.setHeader("Content-type", "application/json");
Also, the new HttpPost() takes the web service URL as argument.
new HttpPost()