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