curl -x socks5h://login:pass@ip:port --header 'Content-Type: application/json' --request 'POST' --data '{"chat_id":"chat-id","text":"Bareos: %t %e of %c %l"}' "https://api.telegram.org/bot_api_/sendMessage"
我输入了此请求,但是curl给我有关URL的错误
Message delivery ERROR: Mail program terminated in error. CMD=curl -x socks5h://login:pass@ip:port --header 'Content-Type: application/json' --request 'POST' --data '{"chat_id":"chat-id","text":"Bareos: Backup OK of Server1 Incremental"}' ERR=Child exited with code 2
出什么问题了?