logs-analyzer/logs-preparer/test.sh

6 lines
263 B
Bash
Raw Permalink Normal View History

2024-09-02 22:47:30 +03:00
STRLENGTH=$(echo -n $1 | wc -m)
curl -v --location 'http://localhost:8082' \
--header 'Content-Type: application/json' \
--header "Content-Length: $STRLENGTH" \
--data "$1"