Skip to content

Commit

Permalink
Merge pull request #1910 from akto-api-security/feature/add_log_postman
Browse files Browse the repository at this point in the history
Add logs to postman api call
  • Loading branch information
notshivansh authored Jan 3, 2025
2 parents 1888b87 + 299cd1b commit 3818f32
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 3818f32

Please sign in to comment.