可以使用 HTTP 客户端,如 curl 或者是 python requests 库来发送 GET 请求到该 URL,即可获取到 EMQX 中已连接的客户端信息。 例如使用 curl: curl http://192.168.34.131:8081/api/v4/clients?_page=1 使用 python requests:
import requests
response = requests.get("http://192.168.34.131:8081/api/v4/clients?_page=1")
print(response.json())
如果