Created
July 14, 2015 01:06
-
-
Save BrandonZacharie/3a4ad8080cb1dc9a5c18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hyperquest = require('hyperquest'); | |
var hr = hyperquest('INSERT_SLACK_WEBHOOK_URL', { method: 'POST' }); | |
hr.setHeader('content-type', 'application/json'); | |
hr.pipe(process.stdout); | |
hr.end(JSON.stringify({ text: 'Test 123' })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment