From 299cd1bfe2997683d24a3b21d4bf1edfae48f60b Mon Sep 17 00:00:00 2001 From: Ankush Jain <91221068+ankush-jain-akto@users.noreply.github.com> Date: Fri, 3 Jan 2025 06:47:15 -0800 Subject: [PATCH] Add logs to postman api call --- libs/integrations/src/main/java/com/akto/postman/Main.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/integrations/src/main/java/com/akto/postman/Main.java b/libs/integrations/src/main/java/com/akto/postman/Main.java index 2dbf968d8f..3898988402 100644 --- a/libs/integrations/src/main/java/com/akto/postman/Main.java +++ b/libs/integrations/src/main/java/com/akto/postman/Main.java @@ -38,6 +38,9 @@ public String createApi(String workspaceId, String apiName) { String json = requestBody.toString(); JsonNode node = ApiRequest.postRequest(generateHeadersWithAuth(), url,json); + + System.out.println("createApi: " + node.toPrettyString()); + String apiId = node.get("api").get("id").textValue(); return apiId; }