Android第三方框架xUtils的post请求案例

比如关注功能,点击的时候调接口POST请求,将参数传过去,id、code。我要将code值改变成1来表示已关注。这个操作代码怎么做啊?

/**
* 获取json数据
*
* @return
*
*/

@SuppressWarnings("unused")
public void getJson(Context cxt, String url) {
    HttpUtils http = new HttpUtils();
    http.configCurrentHttpCacheExpiry(1000 * 10);// 设置超时时间
    http.send(HttpMethod.POST, url, null, new RequestCallBack<String>() {// 接口回调

                public void onSuccess(ResponseInfo<String> info) {
                    System.out.println("返回的json字符串:" + info.result);
                }

                public void onFailure(HttpException arg0, String arg1) {
                    System.out.println("请求数据失败!!");
                    // Toast.makeText(cxt, "请求数据失败!!", 0).show();
                }

            });

}