„PUT /dns/zones/{domain}/records“ ändern

master
Thomas Brinkmann 3 years ago
parent 3bbcccb9ac
commit 9ec272efa3
  1. 4
      PUT-%2Fdns%2Fzones%2F%7Bdomain%7D%2Frecords.md

@ -40,7 +40,7 @@
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'control.local/api/v2/dns/zones/domain1.de/records',
CURLOPT_URL => 'https://api.dsh.gg/api/v2/dns/zones/domain1.de/records',
CURLOPT_CUSTOMREQUEST => 'PUT',
CURLOPT_POSTFIELDS =>'{
"name": "test22.domain1.de.",
@ -67,7 +67,7 @@ echo $response;
##### cURL
```bash
curl --location --request PUT 'control.local/api/v2/dns/zones/domain1.de/records' \
curl --location --request PUT 'https://api.dsh.gg/api/v2/dns/zones/domain1.de/records' \
--header 'X-TOKEN: test-token' \
--header 'Content-Type: application/json' \
--data-raw '{

Loading…
Cancel
Save