„POST /protection/flexrule“ ändern

master
Thomas Brinkmann 3 years ago
parent f8c70293e1
commit 04107a33bb
  1. 4
      POST-%2Fprotection%2Fflexrule.md

@ -60,7 +60,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 => 'POST', CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{ CURLOPT_POSTFIELDS =>'{
"sequence": 1, "sequence": 1,
@ -99,7 +99,7 @@ echo $response;
##### cURL ##### cURL
```bash ```bash
curl --location --request POST 'control.local/api/v2/protection/flexrule' \ curl --location --request POST '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' \
--data-raw '{ --data-raw '{

Loading…
Cancel
Save