Ping
PingPong.ping
Test round-trip de l’API. Envoyez la chaîne "ping" pour recevoir "pong". Nécessite l’en-tête Session-Id.
Paramètres du body
| Corps de la requête | Type | Description |
|---|---|---|
msg | string REQUIS | Message body, should contain the string "ping". |
Exemple de requête
{
"msg": "ping"
}Exemple de réponse
{
"result": {
"msg": "pong"
}
}champs result
| champs result | Type | Description |
|---|---|---|
msg | string | Response message, should contain the string "pong". |