Ping IP
# Ping IP
Path:
/api/ping
Method: POST
Content-type: application/json; charset=utf-8
API Description: This can be used to test the network connection of the player.
Request
Name | Type | Example | Description |
---|---|---|---|
ping | String | www.baidu.com | IP address of the device |
Example
{"ping" : "www.baidu.com"}
Response
Name | Type | Example | Description |
---|---|---|---|
resptime | Float | 7.55 | Unit: ms; "-1" indicates network error. |
Example
{"resptime": 7.55}