create

abstract fun create(token: String, userId: String, payload: Map<String, Any>): String

Method to create a new item

Return

the response of the request as String

Parameters

userId

The identifier of the user

token

The token of the user

payload

The payload to create the item