blob: 9e563e569e11f1f9733a760c1538ce0c47a60828 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
---
title: 201 Created
slug: Web/HTTP/Status/201
translation_of: Web/HTTP/Status/201
---
<div>{{HTTPSidebar}}</div>
<p>Der Antwortcode HTTP <strong><code>201 Created</code></strong> Erfolgsstatus zeigt an, dass die Anfrage erfolgreich war und zur Erstellung einer Ressource geführt hat. Die neue Ressource wird effektiv erstellt, bevor diese Antwort zurückgesendet wird, und die neue Ressource wird im Hauptteil der Nachricht zurückgegeben, wobei ihre Position entweder die URL der Anforderung oder der Inhalt des {{HTTPHeader("Location")}} Headers ist.</p>
<p>Der übliche Anwendungsfall für diesen Statuscode ist das Ergebnis einer {{HTTPMethod("POST")}} Anfrage.</p>
<h2 id="Status">Status</h2>
<pre class="syntaxbox notranslate">201 Created</pre>
<h2 id="Spezifikationen">Spezifikationen</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Spezifikation</th>
<th scope="col">Titel</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{RFC("7231", "201 Created" , "6.3.2")}}</td>
<td>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</td>
</tr>
</tbody>
</table>
<h2 id="Browserkompatibilität">Browserkompatibilität</h2>
<p>{{Compat("http.status.201")}}</p>
<h2 id="Siehe_auch">Siehe auch</h2>
<ul>
<li><a href="/en-US/docs/Web/HTTP/Methods">HTTP request methods</a></li>
</ul>
|