Web Design & Development

Digital Marketing Services

201 Created

201 Created

The 201 Created HTTP response status code is sent by the server to signify the successful creation of a new resource as a result of the client's HTTP request.

You can Check Your URLs HTTP Code for FREE

The 201 Created HTTP response status code is sent by the server to signify the successful creation of a new resource as a result of the client's HTTP request.

It is a positive acknowledgment that the request was processed without errors, and the newly created resource is now available for further interactions.

This status code plays a pivotal role in RESTful API implementations, providing clients with a clear indication of the successful resource creation.

When receiving the 201 Created status code, it denotes that the operation was performed using the POST method, signifying the successful uploading of a resource for the first time.

In the HTTP response, there is an optional inclusion of the Location HTTP header field, which specifies the location where the resource was created. However, if the Location header is absent, the resource is assumed to have been created at the path initially specified in the HTTP request.

This status code and its associated headers play a crucial role in RESTful API implementations, facilitating proper handling of newly created resources.

In this sample, the client starts an XML data upload to the server, designating /incoming/xml as the designated destination path.

The server promptly responds with a confirmation, indicating that the XML data was successfully accepted and processed, resulting in the creation of a new file named article_1.xml.

This exchange of information highlights the seamless communication between the client and server, demonstrating the effectiveness of the HTTP 201 Created status code for resource creation.

The 201 Created HTTP response status code is sent by the server to signify the successful creation of a new resource as a result of the client's HTTP request.

It's a positive acknowledgment that the request was processed without errors, and the newly created resource is now available for further interactions.

This status code plays a pivotal role in RESTful API implementations, providing clients with a clear indication of the successful resource creation.

Related articles

999 Request Denied

999 Request Denied The 999 HTTP response status code is...

599 Network Connect Timeout Error

599 Network Connect Timeout Error The 599 HTTP response status...

598 Network read timeout error

598 Network read timeout error The 598 HTTP response status...

561 Unauthorized

561 Unauthorized The 561 HTTP response status code means there...

530 Site Frozen

530 Site Frozen The 530 HTTP response status code is...

999 Request Denied

561 Unauthorized

530 Site Frozen