„GET /protection/routing/{ipAddress}/{cidr}“ ändern

master
Thomas Brinkmann 3 years ago
parent bd30298914
commit 859d886885
  1. 4
      GET-%2Fprotection%2Frouting%2F%7BipAddress%7D%2F%7Bcidr%7D.md

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

Loading…
Cancel
Save