„GET /dns/zones/{domain}“ ändern

master
Thomas Brinkmann 3 years ago
parent 6c13279bd4
commit 0cfffd6821
  1. 4
      GET-%2Fdns%2Fzones%2F%7Bdomain%7D.md

@ -41,7 +41,7 @@
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'control.local/api/v2/dns/zones/domain1.de',
CURLOPT_URL => 'https://api.dsh.gg/api/v2/dns/zones/domain1.de',
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/dns/zones/domain1.de' \
curl --location --request GET 'https://api.dsh.gg/api/v2/dns/zones/domain1.de' \
--header 'X-TOKEN: test-token' \
--header 'Content-Type: application/json'
```

Loading…
Cancel
Save