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