I have some android code I am porting to cn1, in my networking I do:
HttpPost httppost = new HttpPost(url);
httppost.setEntity(new StringEntity(s));
I dont recall why I use setEntity, but I am posting a snippet of json to the server, what is the equivalent way to do this in CN1?