Azure-cognitive-services 给出“404 找不到资源”

Azure-cognitive-services giving "404 resource not found"

我已订阅 "Azure Cognitive Services",我尝试将语言翻译从英语转换为丹麦语。我用 Postman 发出了 post 请求,但每次我都收到以下错误。

{
    "error": {
        "code": "404",
        "message": "Resource not found"
    }
}

我在 Azure 仪表板中看到的端点是 https://uksouth.api.cognitive.microsoft.com/translate?api-version=3.0&from=en&to=da

并且我 post 在 Ocp-Apim-Subscription-KeyOcp-Apim-Subscription-Region =32=]节。

为什么我会收到 404 错误?有什么想法吗?

文本翻译器APIV3.0,可以找基础URLhere

如果你在欧洲,你可以试试这个端点:

api-eur.cognitive.microsofttranslator.com