Request headers of the bot
The current outgoing requests to the bot don't contain in the header or URL any information that helps bots route the traffic without unpacking the entire payload. The activities are sent to the bot through a URL similar to https://<your_domain>/api/messages
. Requests are received to show the conversation ID and tenant ID in the headers.
Request header fields
Two non-standard request header fields are added to all the requests sent to bots, for both asynchronous flow and synchronous flow. The following table provides the request header fields and their values:
Field key | Value |
---|---|
x-ms-conversation-id | The conversation ID corresponding to the request activity if applicable and confirmed or verified. |
x-ms-tenant-id | The tenant ID corresponding to the conversation in the request activity. |
If the tenant or conversation ID isn't present in the activity or wasn't validated on the service side, the value is empty.
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應