vernedeng commented on code in PR #8941:
URL: https://github.com/apache/inlong/pull/8941#discussion_r1360477012
##########
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/util/HttpUtils.java:
##########
@@ -112,6 +112,22 @@ public static <T> T request(RestTemplate restTemplate,
String url, HttpMethod ht
return response.getBody();
}
+ /**
+ * Send an void HTTP request
+ */
+ public static void request(RestTemplate restTemplate, String url,
HttpMethod httpMethod, Object requestBody,
+ HttpHeaders header) {
+ if (log.isDebugEnabled()) {
+ log.debug("begin request to {} by request body {}", url,
GSON.toJson(requestBody));
Review Comment:
just print the debug log directly
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]