From 859d88688557a2ebd799ad84f336e81a41815be4 Mon Sep 17 00:00:00 2001 From: Thomas Brinkmann Date: Mon, 6 Jun 2022 11:55:53 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EGET=20/protection/routing/{ipAddress}/?= =?UTF-8?q?{cidr}=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GET-%2Fprotection%2Frouting%2F%7BipAddress%7D%2F%7Bcidr%7D.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GET-%2Fprotection%2Frouting%2F%7BipAddress%7D%2F%7Bcidr%7D.md b/GET-%2Fprotection%2Frouting%2F%7BipAddress%7D%2F%7Bcidr%7D.md index af815af..faf41f4 100644 --- a/GET-%2Fprotection%2Frouting%2F%7BipAddress%7D%2F%7Bcidr%7D.md +++ b/GET-%2Fprotection%2Frouting%2F%7BipAddress%7D%2F%7Bcidr%7D.md @@ -42,7 +42,7 @@ $curl = curl_init(); curl_setopt_array($curl, array( - CURLOPT_URL => 'control.local/api/v2/protection/routing/192.168.1.2/32', + CURLOPT_URL => 'https://api.dsh.gg/api/v2/protection/routing/192.168.1.2/32', 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/routing/192.168.1.2/32' \ +curl --location --request GET 'https://api.dsh.gg/api/v2/protection/routing/192.168.1.2/32' \ --header 'X-TOKEN: test-token' \ --header 'Content-Type: application/json' ```