Back to HTTP Check Tool
4xx · Client Error

401Unauthorized

请求需要用户认证。

What is HTTP 401?

401 Unauthorized(实际上应该是 Unauthenticated)表示请求需要身份认证。响应必须包含 WWW-Authenticate 头指示如何认证。常见于缺少或无效的 Bearer Token。

Example

GET /api/me without token → 401 Unauthorized

Check a URL in real-time

Use our HTTP ping tool to check the actual status code of any URL.

Try httping.io →

Common Use Cases

  • 缺少 Bearer Token
  • JWT Token 已过期
  • API Key 无效

Quick Facts

Code401
Category4xx
TypeClient Error

Related 4xx Codes