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

master
Thomas Brinkmann 3 years ago
parent e3f5355171
commit 59ae8aad20
  1. 4
      POST-%2Fservice%2F%7Bserviceid%7D%2Fprovisioning.md

@ -50,7 +50,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/provisioning', CURLOPT_URL => 'https://api.dsh.gg/api/v2/service/12345/provisioning',
CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{ CURLOPT_POSTFIELDS =>'{
"template": "Debian10-64Bit", // templateid for Dedicated Server, Win VPS/Rootservers, Storage VPS "template": "Debian10-64Bit", // templateid for Dedicated Server, Win VPS/Rootservers, Storage VPS
@ -70,7 +70,7 @@ echo $response;
##### cURL ##### cURL
```bash ```bash
curl --location --request POST 'control.local/api/v2/service/12345/provisioning' \ curl --location --request POST 'https://api.dsh.gg/api/v2/service/12345/provisioning' \
--header 'X-TOKEN: test-token' \ --header 'X-TOKEN: test-token' \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--data-raw '{ --data-raw '{

Loading…
Cancel
Save