AsyncHttpClient
can not call patch android.
How to call it thanks!
RequestParams params = new RequestParams();
String URL = "xxxxxx;
params.put("aaa", aaa);
params.put("bbb", bbb);
AsyncHttpClient client = new AsyncHttpClient();
client.patch(URL, params, new JsonHttpResponseHandler() {
@Override
public void onSuccess(int statusCode, Header[] headers, JSONObject response) {
}
@Override
public void onFailure(int statusCode, Header[] headers, Throwable throwable, JSONObject errorResponse) {
super.onFailure(statusCode, headers, throwable, errorResponse);
}
});
at line client.patch
is can not call patch
How to call it?