mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-03 03:11:43 +02:00
11 lines
323 B
Markdown
11 lines
323 B
Markdown
# Example HTTP requests
|
|
|
|
## Command line requests
|
|
|
|
Requires `curl` and `jq`
|
|
|
|
### Get all client names
|
|
|
|
```bash
|
|
curl --header "Content-Type: application/json" --request POST --data '{"id":1, "jsonrpc":"2.0", "method": "Server.GetStatus"}' http://127.0.0.1:1780/jsonrpc | jq .result.server.groups[].clients[].config.name
|
|
```
|