Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

201 Created

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!

The HTTP 201 Created success status response code indicates that the request has succeeded and has led to the creation of a resource. The new resource is effectively created before this response is sent back. and the new resource is returned in the body of the message, its location being either the URL of the request, or the content of the Location header.

The common use case of this status code is as the result of a PUT request.

Status

201 Created

Specifications

Specification Title
RFC 7231, section 6.3.2: 201 Created Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

Browser compatibility

No compatibility data found. Please contribute data for "201 Created" to the MDN compatibility data repository.

See also

文档标签和贡献者

 此页面的贡献者: fscholz, teoli
 最后编辑者: fscholz,