mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 20:12:25 +00:00
Update README to reflect command usage and response structure
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user