I'm having trouble getting Zapier's webhooks to post a true JSON array.
I want the webhook post data to be like this:
{
"attachments": [
{
"color": "danger",
"fallback": "My fallback text is here",
"title": "My Title is here",
"text":" foo"
}
]
}
But all I can get is this (notice the missing "[", and "]"). How can I get a properly formatted JSON array from Zapier's webhooks?
{
"attachments":
{
"color": "danger",
"text": "foo",
"fallback": "My fallback text is here",
"title": "My Title is here"
}
}
Here is what my Zapier Webhook configuration looks like: