我正在尝试使用购买状态 API ( https://www.googleapis.com/androidpublisher/v1.1/applications/packageName/subscriptions/subscriptionId/purchases/token ) 获取订阅到期日期,但低于响应。我可以知道什么是实现我的目标的正确方法吗?
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Login Required",
"locationType": "header",
"location": "Authorization"
}
],
"code": 401,
"message": "Login Required"
}
有人知道怎么做吗?
提前致谢。