Buradasın
HTTP 201 Created Status Code
webfx.com/web-development/glossary/http-status-codes/what-is-a-201-status-code/Yapay zekadan makale özeti
- Definition and Purpose
- Indicates successful creation of new resources
- Primary resource identified by Location header or request URI
- Response payload describes and links to created resources
- Technical Details
- RFC7231 Section 6.3.2 defines validator header fields
- Multiple programming languages support 201 status code
- Example response includes Location header and JSON body
- Comparison with 200 OK
- 201 created for new resource creation
- 200 OK indicates successful request with data return
- 201 used for creating new resources, 200 for retrieving data