Though this command perfectly fine when running through command prompt but when running through script runner console it is not working for me. Command below
curl -H "Content-Type: application/json" -d "
{\"text\": \"Hello World\"}
" https://outlook.office.com/webhook/2dc2207c-de56-4b67-a1dd-ad090676f6c5@d52c9ea1-7c21-47b1-82a3-33a74b1f74b8/IncomingWebhook/088ca531ac5b46baa3ac18e637a946b9/4ae5d338-b980-4f34-a7ba-e0b802660ec7