【异常解决】postman 请求提示 Full authentication is required to access this resource
一、背景描述
在使用 postman 测试接口时,该接口需要在 Header 中传入 access_token,实际上也在请求的 Header 中添加上了 access_token 参数,但是服务端还是返回 401 错误码,提示未登录,Full authentication is required to access this resource。

二、解决方案

然后将获取到的 access_token 输入到这个 Token 中去,如下图所示:

再次发送请求,即可返回成功,并获取到数据了。
本文首发于 CSDN,为博主原创文章,如果需要转载,请注明出处,谢谢!
本文完结!
版权声明: 本文为 InfoQ 作者【No8g攻城狮】的原创文章。
原文链接:【http://xie.infoq.cn/article/2a1af959892c644dbf5051d7f】。文章转载请联系作者。
评论