system/API/ResponseTrait.php
public function respondCreated($data = null, string $message = '')
	{
		return $this->respond($data, $this->codes['created'], $message);
	}
public function respondCreated($data = null, string $message = '')
	{
		return $this->respond($data, $this->codes['created'], $message);
	}
Used after successfully creating a new resource.

@param mixed  $data    Data.
@param string $message Message.

@return mixed