Insert/Upsert Method
Last updated
Last updated
Follow these steps to create and test an Insert
or Upsert
query:
From the left pane in the demo app, choose a base table to use. For this example, we will use the customers
table.
In the left pane:
Change the Method to Insert
or Upsert
.
Update the Route Name if required.
Click on the Save button at the bottom of the left pane.
Your endpoint for Insert/Upsert
is now ready.
Copy the endpoint URL by clicking it in the top right corner
Open Postman:
Paste the endpoint URL into the input field.
Change the request method to POST
.
Under the Body tab in Postman:
Select raw as the body type.
Paste a sample request body in JSON format. For example:
Click on the Send button in Postman.
You will receive a response indicating that the query was successful.
You have now successfully created and tested your Insert/Upsert
query.