6 lines
263 B
Bash
6 lines
263 B
Bash
STRLENGTH=$(echo -n $1 | wc -m)
|
|
curl -v --location 'http://localhost:8082' \
|
|
--header 'Content-Type: application/json' \
|
|
--header "Content-Length: $STRLENGTH" \
|
|
--data "$1"
|