More info: this is how I am doing the post:

                HttpPost req = new HttpPost(REQUEST_URL); // starts
with https://


                req.setHeader("Content-Type", "application/json");
                String json = data.toJSON().toString();

                req.setEntity(new StringEntity(json));
                DefaultHttpClient client = new DefaultHttpClient();
                StatusLine statusLine =
client.execute(req).getStatusLine();

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