Back to HTTP Check Tool
2xx · Success

201Created

请求成功,并且新资源已被创建。

What is HTTP 201?

201 Created 表示请求成功,并且服务器创建了新资源。新资源的 URI 通常在 Location 头中返回。常用于 POST 或 PUT 请求。

Example

POST /api/users → 201 Created, Location: /api/users/42

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

  • 创建新用户
  • 上传文件成功
  • 提交新订单

Quick Facts

Code201
Category2xx
TypeSuccess

Related 2xx Codes