postRecipe

@POST(value = "recipes")
abstract suspend fun postRecipe(@Body recipe: ApiRecipe): ApiRecipe

Posts a new Recipe item to the API.

Return

The created ApiRecipe item.

Parameters

recipe

The Recipe item to post.