201
Created
The server understands the request and it creates one or more resources as specified in the request's body. The response contains the header `Location: '<url>'` specifying the url of the created resource(s).
Use Case
A client wants to create a new object in the database, and it sends the payload in the request body. The server accepts the request and accordingly creates the resources and replies with a 201 status along with the URL of the created resource in the headers and the resource itself in the response body.