Quickstart

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

  1. From the navigation bar on the left side of the dashboard, click +New > Table.

Quickstart

  1. The Create New Table modal will appear. Enter a table name of your choice and press the Create button to create a new table.

Quickstart

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.

Quickstart

Read

Use the GET method to read data from a table.

Quickstart

Update

Use the PUT method to update existing data.

Quickstart

Delete

Use the DELETE method to delete data.

Quickstart

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.

Reference material