I have a simple adaptive card template that takes a variable and posts it to a Microsoft Teams Channel. However, when I’m sending my POST request I see a 202 code but nothing ends up in Teams. The template and data seem valid when using https://adaptivecards.io/designer/ I would expect a Teams message to arrive in my channel when sending the data in a POST request.
Template
{
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"text": "${description}",
"wrap": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5"
}
Payload/Body
{"description": "Test message"}
Workflow
What would be the correct way to use variables in the template or send variables through a POST request?