This commit is contained in:
Mohd-Arham
2025-11-03 10:50:07 +05:30
parent 6ec6847ad2
commit 2f33b306ae
24 changed files with 937 additions and 393 deletions
@@ -124,11 +124,12 @@ public class HttpService {
.headers(h -> h.addAll(headers))
.retrieve()
.toEntity(String.class);
response.put("respCode", String.valueOf(restResponse.getStatusCode().value()));
response.put("data", restResponse.getBody());
log.info("✅ GET Response: {}", restResponse.getStatusCode());
log.info("✅ GET Response: {}", restResponse.getBody());
} catch (HttpClientErrorException | HttpServerErrorException httpException) {
log.error("❌ HTTP Error: {}", httpException.getMessage(), httpException);