Page Contents

Home > @loopback/rest-crud > CrudRestController > create

CrudRestController.create() method

Implementation of the endpoint POST /.

Signature:

create(data: Omit<T, IdName>): Promise<T>;

Parameters

Parameter Type Description
data Omit<T, IdName>  

Returns:

Promise<T>