„GET /service“ ändern

master
Thomas Brinkmann 3 years ago
parent eb73a6b9d2
commit 4526510602
  1. 4
      GET-%2Fservice.md

@ -33,7 +33,7 @@ Es sind keine Parameter notwendig.
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'control.local/api/v2/service?page=1&limit=10',
CURLOPT_URL => 'https://api.dsh.gg/api/v2/service?page=1&limit=10',
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'X-TOKEN: test-token',
@ -50,7 +50,7 @@ echo $response;
##### cURL
```bash
curl --location --request GET 'control.local/api/v2/service?page=1&limit=10' \
curl --location --request GET 'https://api.dsh.gg/api/v2/service?page=1&limit=10' \
--header 'X-TOKEN: test-token' \
--header 'Content-Type: application/json'
```

Loading…
Cancel
Save