如何获取正确的microsoft Translator API订阅密钥

2024-10-04 11:33:46 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经注册了Azure的翻译语言API,然后我按照这个url的指示https://blogs.msdn.microsoft.com/translation/gettingstarted1/ 但我还是收到401的短信?在

我已经检查了来自https://github.com/MicrosoftTranslator的python和node脚本

文本翻译工作正常https://github.com/MicrosoftTranslator/PythonConsole/blob/master/MTPythonSampleCode/MTPythonSampleCode.py

你能告诉我我做错了什么吗??在

谢谢

Python错误代码 error code

节点错误代码: enter image description here


Tags: httpsgithubcomapi语言urlazuretranslation