Skip to content

Commit

Permalink
Add logs to postman api call
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-jain-akto authored Jan 3, 2025
1 parent 1888b87 commit 299cd1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/integrations/src/main/java/com/akto/postman/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 299cd1b

Please sign in to comment.