#for loop #curl body
#!/usr/bin/env bash for i in {1..40}; do curl -v -X POST -d '{"chat_id":123,"text":"curl sended\n","parse_mode":"Markdown"}' -H "Content-Type: application/json" "https://api.telegram.org/bot/sendMessage" done