From 2e64f0e20b2e82d9ada540639764e163467ea4be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 2 Oct 2017 03:46:41 +0200 Subject: [PATCH] clarify the use of GET instead of POST --- pages/help/cmd_d2d.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/help/cmd_d2d.php b/pages/help/cmd_d2d.php index 6324426..d6c6955 100644 --- a/pages/help/cmd_d2d.php +++ b/pages/help/cmd_d2d.php @@ -21,7 +21,10 @@

This command sends a POST request to `http://<DestIP>/api/v1/msg`. - The IP address may be appended by a port, if needed (eg. :8080). + The IP address may be appended by a port, if needed (eg. :8080). In addition to POST, + a GET request can also be used. In that case, any GET arguments (`/api/v1/msg?arguments`) + will be used instead of the request body. This is intended for external access + when sending POST requests is not convenient.