运维的Bash脚本,有时候需要把bash运行结果post到一个网址,来看下怎么做: msg="So _advanced_ Much *innovations* ?" #post JSON curl -X POST \ -H 'Content-Type: application/json' \ -d '{"chat_id": "xxxx", "parse_mode": "Markdown", "text": "'"$msg"'"}' \ https://www.example.com/api #post form c…