【http】Failed to load resource: the server responded with a status of 401 (Unauthorized)

异常现象:
在这里插入图片描述
测试结果:
Similar to 403 Forbidden, but specifically for use when authentication is possible but has failed onot vet been provided. The response must include a WWW-Authenticate header fielo containing a challenge applicable to the requested resource.
【http】Failed to load resource: the server responded with a status of 401 (Unauthorized)_第1张图片
解决方法:
添加请求head所需的验证信息或token
【http】Failed to load resource: the server responded with a status of 401 (Unauthorized)_第2张图片

你可能感兴趣的:(Exception)