src/Leevel/Router/ResponseFactory.php
public function apiCreated(?string $location = null, $content = ''): ApiResponse
    {
        return $this->createApiResponse()->created($location, $content);
    }
public function apiCreated(?string $location = null, $content = ''): ApiResponse
    {
        return $this->createApiResponse()->created($location, $content);
    }
已创建
成功请求并创建了新的资源: 201.

@param null|string $location
@param mixed       $content

@return \Leevel\Http\ApiResponse