Json Send/Post error in blackberry
问题 I want to send JSON request through HTTPConnection but i am getting error when i am trying to get the response code. Here is my code... public void sendrequest(String url)throws IOException, JSONException { JSONObject postObject = new JSONObject(); postObject.put("method", method); postObject.put("params", Parameters); HttpConnection c = (HttpConnection)Connector.open(url); c.setRequestMethod(HttpConnection.POST); c.setRequestProperty("Content-Type", "application/json;charset=UTF-8"); c