„POST /service/{serviceid}/reset“ ändern

master
Thomas Brinkmann 3 years ago
parent 212f2660a0
commit 0474990df2
  1. 4
      POST-%2Fservice%2F%7Bserviceid%7D%2Freset.md

@ -41,7 +41,7 @@
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'control.local/api/v2/service/12345/reset',
CURLOPT_URL => 'https://api.dsh.gg/api/v2/service/12345/reset',
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => array(
'X-TOKEN: test-token',
@ -57,7 +57,7 @@ echo $response;
##### cURL
```bash
curl --location --request POST 'control.local/api/v2/service/12345/reset' \
curl --location --request POST 'https://api.dsh.gg/api/v2/service/12345/reset' \
--header 'X-TOKEN: test-token' \
--header 'Content-Type: application/json'
```

Loading…
Cancel
Save