小编Gab*_*ova的帖子

Google Translation API的Rest API请求

我对Google翻译API的Rest API请求有问题

我的POST方法是https://translation.googleapis.com/language/translate/v2?key=MY_KEY

但我得到一个错误

{
    "error": {
        "code": 400,
        "message": "API Key not found. Please pass a valid API key.",
        "errors": [
        {
            "message": "API Key not found. Please pass a valid API key.",
            "domain": "global",
            "reason": "badRequest"
        }
        ],
        "status": "INVALID_ARGUMENT"
    }
}
Run Code Online (Sandbox Code Playgroud)

请帮助我了解问题的根源。

google-translate google-translation-api

1
推荐指数
1
解决办法
3731
查看次数