This commit is contained in:
Mohd-Arham
2025-11-12 10:34:06 +05:30
parent b0e43f53fc
commit 1102a58aee
21 changed files with 777 additions and 85 deletions
@@ -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);