POST conditional on existing record

Answered

I am fairly new to API's so forgive me if this is a naive question.

I would like to setup an API request that POST a new record in a table for a given user so long as there is not already a record in that table for that user. Otherwise I would like to update that existing record with the incoming info.

What would be the best way to achieve this?

5 replies