Use Slack.com Incoming Webhooks

suggest change

Define your payload to send for possible more complex data

$Payload = @{ text="test string"; username="testuser" }

Use ConvertTo-Json cmdlet and Invoke-RestMethod to execute the call

Invoke-RestMethod -Uri "https://hooks.slack.com/services/yourwebhookstring" -Method Post -Body (ConvertTo-Json $Payload)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Communicating with RESTful APIs:
* Use Slack.com Incoming Webhooks

Table Of Contents
1 Loops
15 Communicating with RESTful APIs
19 XML
22 Strings
25 Aliases
47 MongoDB
65 AWS S3