-
Notifications
You must be signed in to change notification settings - Fork 8.1k
/
index.md
30 lines (19 loc) · 985 Bytes
/
index.md
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
---
title: 201 Created
slug: Web/HTTP/Status/201
---
{{HTTPSidebar}}
O status HTTP "**201 Created**" é utilizado como resposta de sucesso, indica que a requisição foi bem sucedida e que um novo recurso foi criado. Este novo recurso é efetivamente criado antes do retorno da resposta e o novo recurso é enviado no corpo da mensagem (pode vir na URL ou na header {{HTTPHeader("Location")}}).
Comumente, este status é utilizado em requisições do tipo {{HTTPMethod("POST")}}.
## Status
```
201 Created
```
## Especificações
| Especificação | Título |
| ---------------------------------------- | ------------------------------------------------------------- |
| {{RFC("7231", "201 Created" , "6.3.2")}} | Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content |
## Compatibilidade com navegadores
{{Compat}}
## Veja mais
- [HTTP request methods](/pt-BR/docs/Web/HTTP/Methods)