From 8679ebefa00339fad72fc15ec886098f184e5038 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Wed, 5 Mar 2025 18:44:43 +0100 Subject: [PATCH] Remove Curl Calls from api.func --- misc/api.func | 9 --------- 1 file changed, 9 deletions(-) diff --git a/misc/api.func b/misc/api.func index 1ca98f4..15bde49 100644 --- a/misc/api.func +++ b/misc/api.func @@ -39,9 +39,6 @@ post_to_api() { EOF ) - RESPONSE=$(curl -s -w "%{http_code}" -L -X POST "$API_URL" --post301 --post302 \ - -H "Content-Type: application/json" \ - -d "$JSON_PAYLOAD") || true } post_to_api_vm() { @@ -87,9 +84,6 @@ post_to_api_vm() { EOF ) - RESPONSE=$(curl -s -w "%{http_code}" -L -X POST "$API_URL" --post301 --post302 \ - -H "Content-Type: application/json" \ - -d "$JSON_PAYLOAD") || true } POST_UPDATE_DONE=false @@ -115,9 +109,6 @@ post_update_to_api() { EOF ) - RESPONSE=$(curl -s -w "%{http_code}" -L -X POST "$API_URL" --post301 --post302 \ - -H "Content-Type: application/json" \ - -d "$JSON_PAYLOAD") || true POST_UPDATE_DONE=true }