„GET /protection/flexrule/{uuid}“ ändern

master
Thomas Brinkmann 3 years ago
parent 6bf22d5ad5
commit 82e3a9e105
  1. 6
      GET-%2Fprotection%2Fflexrule%2F%7Buuid%7D.md

@ -1,4 +1,4 @@
## **GET /protection/flexrules/{uuid}** ## **GET /protection/flexrule/{uuid}**
## **Inhalt** ## **Inhalt**
@ -42,7 +42,7 @@
$curl = curl_init(); $curl = curl_init();
curl_setopt_array($curl, array( curl_setopt_array($curl, array(
CURLOPT_URL => 'control.local/api/v2/protection/flexrules/ABCDE-FGHI-1234-567-8910', CURLOPT_URL => 'control.local/api/v2/protection/flexrule/ABCDE-FGHI-1234-567-8910',
CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array( CURLOPT_HTTPHEADER => array(
'X-TOKEN: test-token', 'X-TOKEN: test-token',
@ -58,7 +58,7 @@ echo $response;
##### cURL ##### cURL
```bash ```bash
curl --location --request GET 'control.local/api/v2/protection/flexrules/ABCDE-FGHI-1234-567-8910' \ curl --location --request GET 'control.local/api/v2/protection/flexrule/ABCDE-FGHI-1234-567-8910' \
--header 'X-TOKEN: test-token' \ --header 'X-TOKEN: test-token' \
--header 'Content-Type: application/json' --header 'Content-Type: application/json'
``` ```
Loading…
Cancel
Save