From 76c9c05cb683f2bcda1b4fb2e0cf634228ac952c Mon Sep 17 00:00:00 2001 From: Thomas Brinkmann Date: Mon, 6 Jun 2022 11:59:00 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EDELETE=20/dns/reverse/{ipaddress}/reco?= =?UTF-8?q?rd=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DELETE-%2Fdns%2Freverse%2F%7Bipaddress%7D%2Frecord.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DELETE-%2Fdns%2Freverse%2F%7Bipaddress%7D%2Frecord.md b/DELETE-%2Fdns%2Freverse%2F%7Bipaddress%7D%2Frecord.md index 475f8ce..0ec6dba 100644 --- a/DELETE-%2Fdns%2Freverse%2F%7Bipaddress%7D%2Frecord.md +++ b/DELETE-%2Fdns%2Freverse%2F%7Bipaddress%7D%2Frecord.md @@ -40,7 +40,7 @@ $curl = curl_init(); curl_setopt_array($curl, array( - CURLOPT_URL => 'control.local/api/v2/dns/reverse/x.x.x.x/record', + CURLOPT_URL => 'https://api.dsh.gg/api/v2/dns/reverse/x.x.x.x/record', CURLOPT_CUSTOMREQUEST => 'DELETE', CURLOPT_HTTPHEADER => array( 'X-TOKEN: test-token', @@ -56,7 +56,7 @@ echo $response; ##### cURL ```bash -curl --location --request DELETE 'control.local/api/v2/dns/reverse/x.x.x.x/record' \ +curl --location --request DELETE 'https://api.dsh.gg/api/v2/dns/reverse/x.x.x.x/record' \ --header 'X-TOKEN: test-token' \ --header 'Content-Type: application/json' ```