Corresponds to POST request without a resource identifier, inserting a document into the database

async def create(self, **kwargs):
        '''
        Corresponds to POST request without a resource identifier, inserting a document into the database
        '''
        try:
            # create model
            obj = self._meta.object_class()
            # deserialize data from request body
            self.data.update(kwargs)
            await obj.deserialize(self.data)
            # create document in DB
            await obj.insert(db=self.db)
            # serialize object for response
            return await obj.serialize()
        except Exception as ex:
            logger.exception(ex)
            raise BadRequest(ex)