我在 Azure 中创建了一个事件中心。
我正在尝试按照文档https://docs.microsoft.com/en-us/rest/api/eventhub/eventhubs/get获取指定事件中心的事件中心描述。
当我通过 POSTMAN 通过替换文档中指定的值来访问以下 URL 时:
https://management.azure.com/subscriptions/ {subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/eventhubs/{eventHubName}?api-version=2017-04-01
但我收到以下错误:-
{
"error": {
"code": "AuthenticationFailed",
"message": "Authentication failed. The 'Authorization' header is missing."
}
}
知道如何获取有关事件中心的描述吗?

