问题:在F12中复制了URL和接口字段,复制至postman中,报错:401,认证失败,无法访问系统资源

解决办法:
postman的请求消息中没有Authorization:对应的信息,一般是需要登录系统,没有权限导致的。这时候需要登录系统,然后找到Authorization,复制对应的值到postman
复制到postman的authorization-->token中

OK再次访问就成功啦~

版权归原作者 Ren_xixi 所有, 如有侵权,请联系我们删除。

postman的请求消息中没有Authorization:对应的信息,一般是需要登录系统,没有权限导致的。这时候需要登录系统,然后找到Authorization,复制对应的值到postman
复制到postman的authorization-->token中

OK再次访问就成功啦~

如何使用postman调用若依系统接口(报错401,认证失败,无法访问系统资源)
如何处理postman报错:Error: Parse Error: Expected HTTP/
NoClassDefFoundError: Could not initialize class
NoClassDefFoundError: Could not initialize class
postman后端测试时invalid token报错+token失效报错解决方案
postman报错:status“: 500, “error“: “Internal Server Error“
Postman报错提示 Could not get any response怎么解决
Postman:Postman脚本编写:使用Tests脚本进行响应验证
postman访问报错You need to enable JavaScript to run this app.