„GET /protection/flexrule“ ändern

master
Thomas Brinkmann 3 years ago
parent 4cae96d658
commit af9159a668
  1. 4
      GET-%2Fprotection%2Fflexrule.md

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

Loading…
Cancel
Save