From ae54e033f0a4e3673479a9ce3a903a81d114b6e1 Mon Sep 17 00:00:00 2001 From: Thomas Brinkmann Date: Mon, 6 Jun 2022 11:52:02 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EDELETE=20/service/{serviceid}=E2=80=9C?= =?UTF-8?q?=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DELETE-%2Fservice%2F%7Bserviceid%7D.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DELETE-%2Fservice%2F%7Bserviceid%7D.md b/DELETE-%2Fservice%2F%7Bserviceid%7D.md index 1482cf8..da0f22b 100644 --- a/DELETE-%2Fservice%2F%7Bserviceid%7D.md +++ b/DELETE-%2Fservice%2F%7Bserviceid%7D.md @@ -40,7 +40,7 @@ $curl = curl_init(); curl_setopt_array($curl, array( - CURLOPT_URL => 'control.local/api/v2/service/12345', + CURLOPT_URL => 'https://api.dsh.gg/api/v2/service/12345', 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/service/12345' \ +curl --location --request DELETE 'https://api.dsh.gg/api/v2/service/12345' \ --header 'X-TOKEN: test-token' \ --header 'Content-Type: application/json' ```