1

Google Places API 的会话令牌的文档在整个文档sessiontoken中都引用了该参数。session_token哪一个是正确的?

4

1 回答 1

2

使用 sessiontoken和参数发出请求session_token会导致:

{
    "error_message": "Invalid request. Only one of the 'sessiontoken' or 'session_token' parameters are allowed.",
    "predictions": [],
    "status": "INVALID_REQUEST"
}

所以显然任何一个都是可以接受的。

于 2018-07-23T18:37:20.850 回答