From 5472fcc22f753061d88a74914b120211a32a1fbf Mon Sep 17 00:00:00 2001 From: Thomas Brinkmann Date: Mon, 6 Jun 2022 11:53:12 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EPOST=20/service/{serviceid}/rescue?= =?UTF-8?q?=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- POST-%2Fservice%2F%7Bserviceid%7D%2Frescue.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/POST-%2Fservice%2F%7Bserviceid%7D%2Frescue.md b/POST-%2Fservice%2F%7Bserviceid%7D%2Frescue.md index cbb8579..995d53f 100644 --- a/POST-%2Fservice%2F%7Bserviceid%7D%2Frescue.md +++ b/POST-%2Fservice%2F%7Bserviceid%7D%2Frescue.md @@ -45,7 +45,7 @@ $curl = curl_init(); curl_setopt_array($curl, array( - CURLOPT_URL => 'control.local/api/v2/service/12345/rescue', + CURLOPT_URL => 'https://api.dsh.gg/api/v2/service/12345/rescue', CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS =>'{ "rootpass": "1qQertzuiopas!d" @@ -64,7 +64,7 @@ echo $response; ##### cURL ```bash -curl --location --request POST 'control.local/api/v2/service/12345/rescue' \ +curl --location --request POST 'https://api.dsh.gg/api/v2/service/12345/rescue' \ --header 'X-TOKEN: test-token' \ --header 'Content-Type: application/json' \ --data-raw '{