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