Skip to content

Instantly share code, notes, and snippets.

Created September 22, 2009 19:06
Show Gist options
  • Save anonymous/191323 to your computer and use it in GitHub Desktop.
Save anonymous/191323 to your computer and use it in GitHub Desktop.
c = (HttpConnection)Connector.open(url, Connector.READ_WRITE, false);
c.setRequestMethod(HttpConnection.POST);
c.setRequestProperty("Content-Language", "en-US");
os = c.openOutputStream();
String rStr = this.req.toString();
os.write(("mobile_request=" +rStr).getBytes());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment