RequestParams params = new RequestParams(); params.put("key", "value"); params.put("more", "data"); AsyncHttpClient client = new AsyncHttpClient(); client.post("http://www.google.com", params, new AsyncHttpResponseHandler() { @Override public void onSuccess(String response) { System.out.println(response); } });
發(fā)表評論