From 3e03c396446bc4e47a83fb304392af47f92e316d Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 9 Jul 2025 01:23:18 +0300 Subject: [PATCH] Update README to reflect command usage and response structure --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 468f2cd..1513dee 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,11 @@ The basic directory tree looks something like this ``` Launch by command ```bash -$ make run +./node run ``` or for structured logs ```bash -$ make run +./node run | jq ``` Example of GET request to server @@ -38,9 +38,14 @@ curl -s http://localhost:8080/api/v1/com/echo?msg=Hello Then the response from the server ```json { - "answer": "Hello", - "status": "ok" + "ResponsibleAgentUUID": "4593a87000bbe088f4e79c477e9c90d3", + "RequestedCommand": "echo", + "Response": { + "answer": "Hello", + "status": "ok" + } } + ``` ### How to install