-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add create and delete service methods with enhanced debug logging
- Implemented `create_service` method to send a POST request to the API for creating services. - Implemented `delete_service` method to send a DELETE request to the API for deleting services. - Added detailed debug logging for both service creation and deletion processes. - Logs request payload (formatted JSON) before sending the request. - Logs API response (formatted JSON) with HTTP status code for success and failure cases. - Incorporated error handling for JSON parsing and CURL request failures. - Improved overall debugging visibility with formatted logs using nlohmann::json for clarity.
- Loading branch information
Showing
8 changed files
with
3,246 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.