카테고리 없음

curl, bash variable

een 2021. 6. 17. 10:04

curl -X POST -H 'Content-type: application/json' --data '{"text": "'"${message}"'"}'

(https://stackoverflow.com/questions/40852784/how-can-i-use-a-variable-in-curl-call-within-bash-script)