mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-09-16 14:32:36 +02:00
d8a693bf27
* Removes line length limit from Status Code Markdown This will make the data easier to use when we develop the API, it needs to be consistent, arbitrary new lines (especially in text format) will be a major issue, so some sort of workaround would have to be implemented, easier to simply fix the source files. * Removes line length limit from misc. Markdown files
23 lines
870 B
Markdown
23 lines
870 B
Markdown
---
|
|
set: 2
|
|
code: 201
|
|
title: Created
|
|
references:
|
|
"Rails HTTP Status Symbol": ":created"
|
|
"Go HTTP Status Constant": "http.StatusCreated"
|
|
"Symfony HTTP Status Constant": "Response::HTTP_CREATED"
|
|
---
|
|
|
|
The request has been fulfilled and has resulted in one or more new resources being created.
|
|
|
|
The primary resource created by the request is identified by either a Location header field in the response or, if no Location field is received, by the effective request URI.
|
|
|
|
The 201 response payload typically describes and links to the resource(s) created. See [Section 7.2 of RFC7231][2] for a discussion of the meaning and purpose of validator header fields, such as ETag and Last-Modified, in a 201 response.
|
|
|
|
---
|
|
|
|
* Source: [RFC7231 Section 6.3.2][1]
|
|
|
|
[1]: <http://tools.ietf.org/html/rfc7231#section-6.3.2>
|
|
[2]: <http://tools.ietf.org/html/rfc7231#section-7.2
|