|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
## **GET /protection/flexrules** |
|
|
|
|
## **GET /protection/flexrule** |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## **Inhalt** |
|
|
|
@ -43,7 +43,7 @@ |
|
|
|
|
$curl = curl_init(); |
|
|
|
|
|
|
|
|
|
curl_setopt_array($curl, array( |
|
|
|
|
CURLOPT_URL => 'control.local/api/v2/protection/flexrules', |
|
|
|
|
CURLOPT_URL => 'control.local/api/v2/protection/flexrule', |
|
|
|
|
CURLOPT_CUSTOMREQUEST => 'GET', |
|
|
|
|
CURLOPT_HTTPHEADER => array( |
|
|
|
|
'X-TOKEN: test-token', |
|
|
|
@ -59,7 +59,7 @@ echo $response; |
|
|
|
|
|
|
|
|
|
##### cURL |
|
|
|
|
```bash |
|
|
|
|
curl --location --request GET 'control.local/api/v2/protection/flexrules' \ |
|
|
|
|
curl --location --request GET 'control.local/api/v2/protection/flexrule' \ |
|
|
|
|
--header 'X-TOKEN: test-token' \ |
|
|
|
|
--header 'Content-Type: application/json' |
|
|
|
|
``` |