Alert incidents can be sent to other system using HTTP GET or HTTP POST requests. You can either send the rendered alert directly (using markdown in the template perhaps) or use body = ... {{.|json}} ...
and contentType to send the alert data over as part of a JSON object. Another approach is to only send the basic incident information and then have the receiving system pull additional details from the bosun API.
notification postjson {
post = ${env.POSTURL}
body = {"text": {{.|json}}, apiKey=${env.APIKEY}}
contentType = application/json
}
The contentType for HTTP GET/POST requests is application/x-www-form-urlencoded by default.