„GET /service/{serviceid}/templates“ ändern

master
Thomas Brinkmann 3 years ago
parent b3348ad8c1
commit e3f5355171
  1. 4
      GET-%2Fservice%2F%7Bserviceid%7D%2Ftemplates.md

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

Loading…
Cancel
Save