12-11-25
This commit is contained in:
@@ -114,8 +114,8 @@ public class HttpService {
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.setContentType(MediaType.APPLICATION_JSON);
|
||||
|
||||
log.info("🌐 Sending GET request to: {}", url);
|
||||
log.info("📦 Headers: {}", headers);
|
||||
// log.info("🌐 Sending GET request to: {}", url);
|
||||
// log.info("📦 Headers: {}", headers);
|
||||
|
||||
ResponseEntity<String> restResponse = restClient.get()
|
||||
.uri(url)
|
||||
@@ -127,7 +127,7 @@ public class HttpService {
|
||||
response.put("respCode", String.valueOf(restResponse.getStatusCode().value()));
|
||||
response.put("data", restResponse.getBody());
|
||||
|
||||
log.info("✅ GET Response: {}", restResponse.getBody());
|
||||
// log.info("✅ GET Response: {}", restResponse.getBody());
|
||||
|
||||
} catch (HttpClientErrorException | HttpServerErrorException httpException) {
|
||||
log.error("❌ HTTP Error: {}", httpException.getMessage(), httpException);
|
||||
|
||||
Reference in New Issue
Block a user