Update README to reflect command usage and response structure

This commit is contained in:
alex
2025-07-09 01:23:18 +03:00
parent 9919f77c90
commit 3e03c39644

View File

@@ -24,11 +24,11 @@ The basic directory tree looks something like this
``` ```
Launch by command Launch by command
```bash ```bash
$ make run ./node run
``` ```
or for structured logs or for structured logs
```bash ```bash
$ make run ./node run | jq
``` ```
Example of GET request to server 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 Then the response from the server
```json ```json
{ {
"ResponsibleAgentUUID": "4593a87000bbe088f4e79c477e9c90d3",
"RequestedCommand": "echo",
"Response": {
"answer": "Hello", "answer": "Hello",
"status": "ok" "status": "ok"
} }
}
``` ```
### How to install ### How to install