I want to send whatever I right in alert body as JSON.
Right now - the webhook destination receives body as string
description:"{“manager”:“Redash”}"
I want Redash not to convert json to string , but send
description:{“manager”:“Redash”} --> JSON
Out of curiosity: what’s the difference between sending a string with JSON versus sending JSON in the request body? Either one should be consumable by the webhook.
Here’s the code you need:
Notice on line 47 the data is serialized.
Login or sign up disabled while the site is in read only mode