我使用的是WordPress API,我遇到的问题是:
如果用户已通过正常方式登录 .
然后他们使用API登录并使用令牌发表评论 . 像bottom这样的消息似乎有问题:
Failed to load resource: the server responded with a status of 401 (Unauthorized)
如果用户尚未通过正常方式登录,则可以通过API发布带有令牌登录的评论
你能解释一下为什么吗?