问题
I am creating an action card that has two buttons, one to Open a hyperlink to a video, the other to trigger a Webhook. They both work perfectly on Desktop and Web Clients, but on the mobile clients (Apple and Android Tested) the webhook/HttpPOST button does nothing. No error or any indication why.
I have changed the Webhook URL and media for privacy.
{
"@context": "https://schema.org/extensions",
"@type": "ActionCard",
"themeColor": "ff0000",
"title": "Motion Alert - North Lot",
"summary": "Motion Alert - North Lot",
"text": "",
"potentialAction": [
{
"@type": "OpenUri",
"name": "View Video",
"targets":
[
{
"os": "default",
"uri": "https://www.w3schools.com/html/mov_bbb.mp4"
}
]
},
{
"@type": "HttpPOST",
"name": "Trigger Siren",
"target": "https://webhooktest.com/api/"
},
]
}
ScreenShot
Working on Windows Client
Not Working on iPhone - Video
来源:https://stackoverflow.com/questions/54451980/why-does-teams-mobile-app-httppost-action-not-work-on-card-works-fine-on-desk