Webhooks should support Google Chat
Hello! I tried to use the webhooks function with Google Chat without success. Does GlitchTip Webhooks support Google Chat?
Seems like they expect POST request with Content-type: json header and JSON body with single key - "text".
function webhook() {
...
const data = JSON.stringify({
'text': 'Hello from a Node script!',
});
fetch(webhookURL, {
method: 'POST',
headers: {
'Content-Type': 'application/json; charset=UTF-8',
},
body: data,
})
.then(
...
}