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

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

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

Loading…
Cancel
Save