Using either POST or PUT, you can upsert rows.
POST
and the Prefer: resolution=merge-duplicates
header:
Prefer: resolution=ignore-duplicates
.
PUT
:
201 Created
. If the data was updated, the response status code will be 200 OK
.
The response body will be empty by default, but you can add a select
query parameter to select the columns that should be returned: