master
周文涛 2 years ago
parent a81833222a
commit f52553f830

@ -287,6 +287,12 @@ public class RestUtil {
MultiValueMap<String, Object> headers = new LinkedMultiValueMap<String, Object>();
headers.add("Accept", "*/*");
headers.add("Content-Type", "application/json");
try {
SslUtils.ignoreSsl();
} catch (Exception e) {
e.printStackTrace();
}
String requestBody = requestBodyJson.toJSONString();
String result = HttpUtil.post(httpUrl, requestBodyJson.toJSONString());
log.debug("post_responseBody:");

Loading…
Cancel
Save