我想发送一个POST请求排球,但我不知道如何设置参数。我想这个代码设置后排参数排球
Map<String,String> map = new HashMap<String,String>();
map.put("test", "test");
JsonArrayRequest request = new JsonArrayRequest(Request.Method.POST, url, String.valueOf(new JSONArray(map)), this, this);
应用崩溃时,该代码与错误
活动com.example.test.MainActivity已泄漏ServiceConnection
你有答案吗? – tpk