From 6bf22d5ad50e333f669dad6bae43deba2126dd49 Mon Sep 17 00:00:00 2001 From: Thomas Brinkmann Date: Mon, 6 Jun 2022 09:43:31 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EGET=20/protection/flexrule=E2=80=9C=20?= =?UTF-8?q?=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GET-%2Fprotection%2Fflexrules.md => GET-%2Fprotection%2Fflexrule.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename GET-%2Fprotection%2Fflexrules.md => GET-%2Fprotection%2Fflexrule.md (92%) diff --git a/GET-%2Fprotection%2Fflexrules.md b/GET-%2Fprotection%2Fflexrule.md similarity index 92% rename from GET-%2Fprotection%2Fflexrules.md rename to GET-%2Fprotection%2Fflexrule.md index 1c93648..d0dc4ae 100644 --- a/GET-%2Fprotection%2Fflexrules.md +++ b/GET-%2Fprotection%2Fflexrule.md @@ -1,4 +1,4 @@ -## **GET /protection/flexrules** +## **GET /protection/flexrule** ## **Inhalt** @@ -43,7 +43,7 @@ $curl = curl_init(); curl_setopt_array($curl, array( - CURLOPT_URL => 'control.local/api/v2/protection/flexrules', + CURLOPT_URL => 'control.local/api/v2/protection/flexrule', CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_HTTPHEADER => array( 'X-TOKEN: test-token', @@ -59,7 +59,7 @@ echo $response; ##### cURL ```bash -curl --location --request GET 'control.local/api/v2/protection/flexrules' \ +curl --location --request GET 'control.local/api/v2/protection/flexrule' \ --header 'X-TOKEN: test-token' \ --header 'Content-Type: application/json' ```