Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Google Places API 的会话令牌的文档在整个文档sessiontoken中都引用了该参数。session_token哪一个是正确的?
sessiontoken
session_token
使用 sessiontoken和参数发出请求session_token会导致:
{ "error_message": "Invalid request. Only one of the 'sessiontoken' or 'session_token' parameters are allowed.", "predictions": [], "status": "INVALID_REQUEST" }
所以显然任何一个都是可以接受的。