What is status code 201 in API?

A REST API responds with the 201 status code whenever a resource is created inside a collection. … The newly created resource can be referenced by the URI(s) returned in the entity of the response, with the most specific URI for the resource given by a Location header field.

For More Information Please Refer: https://restfulapi.net/http-status-codes/