【异常解决】postman请求提示Full authentication is required to access this resource

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 中去,如下图所示:
在这里插入图片描述再次发送请求,即可返回成功,并获取到数据了。

本文完结!

猜你喜欢

转载自blog.csdn.net/weixin_44299027/article/details/129995590
今日推荐