httpPOST method in intranet
I’m having trouble making a POST request from a button in a message card on our intranet Teams environment. When I click the button to execute the request, it doesn’t seem to have any effect.
My question is: Does the HttpPOST method work within an intranet environment, or does Teams attempt to make this request in a public-facing environment?
My message card:
{
“@context”: “https://schema.org/extensions”,
“@type”: “MessageCard”,
“themeColor”: “FFB900”,
“title”: “some title”,
“text”: “some text”,
“potentialAction”: [
{
“@type”: “HttpPOST”,
“name”: “Task completed”,
“target”: “<INTRANET_URL>”,
“body”: “<BODY>”,
“headers”: [
{
“Content-Type”: “application/json”
}
]
}
]
}
I’m having trouble making a POST request from a button in a message card on our intranet Teams environment. When I click the button to execute the request, it doesn’t seem to have any effect. My question is: Does the HttpPOST method work within an intranet environment, or does Teams attempt to make this request in a public-facing environment? My message card: {
“@context”: “https://schema.org/extensions”,
“@type”: “MessageCard”,
“themeColor”: “FFB900”,
“title”: “some title”,
“text”: “some text”,
“potentialAction”: [
{
“@type”: “HttpPOST”,
“name”: “Task completed”,
“target”: “<INTRANET_URL>”,
“body”: “<BODY>”,
“headers”: [
{
“Content-Type”: “application/json”
}
]
}
]
} Read More