$ docker-compose up build -d
- [POST] Append message
- [GET] List messages
- [GET] List messages
Append message
curl --location --request POST 'http://127.0.0.1:9090/append-msg' \
--header 'Content-Type: application/json' \
--data-raw '{"message":"some text"}'
List messages
curl --request GET 'http://127.0.0.1:9090/list-msg'
List messages
curl --request GET 'http://127.0.0.1:9001/list-msg'