Quickstart
This section provides step-by-step instructions on how to perform basic CRUD operations (create, read, update and delete) using Morph's API. Through this tutorial, you can easily start working with Morph's database.
In this example, the API is invoked using the cURL command, so try it out by pasting the command into your terminal environment or an API client tool such as Postman (opens in a new tab).
Table creation
- From the navigation bar on the left side of the dashboard, click
+New
>Table
.
- The
Create New Table
modal will appear. Enter a table name of your choice and press the Create button to create a new table.
API Calls
Replace
[Your_DatabaseID]
,[Your_Table_Slug]
, and[Your_API_Key]
with your own values!
Create
To create new data, use the POST method.
Read
Use the GET method to read data from a table.
Update
Use the PUT method to update existing data.
Delete
Use the DELETE method to delete data.
Reference
In addition to these, PostgREST (opens in a new tab) allows various query patterns to be realized for customer applications. For more information, please see the following reference documents.