1、传统传参形式;
接口设计:
postman调用形式:
2、body-raw请求体传参
postman调用方式:
接口中转方式:
JSONObject json = new JSONObject();
json.put("password", "111");
json.put("app_key", "111");
json.put("app_secret", "11");
json.put("account", "11");
String strResult = HttpClientUtil.postInfoJson(url, JsonUtil.objectToString(json), "utf-8");