Azure 翻译 API {"error":{"code":400000,"message":"One of the request inputs is not valid."}}

Azure Translate API {"error":{"code":400000,"message":"One of the request inputs is not valid."}}

与使用 Azure 的翻译相关的翻译错误 API {"error":{"code":400000,"message":"其中一个请求输入无效。"}} 我不知道为什么会出现错误消息

根据 translator documentation:

The body of the request is a JSON array. Each array element is a JSON object with a string property named Text, which represents the string to translate.

并且您在错误的查询字符串中传递 text