Skip to content

Commit a1ee3be

Browse files
committed
Adds trial URL
1 parent ab89568 commit a1ee3be

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22

33
A RESTful API for managing your Postgres. Fetch tables, add roles, and run queries (and more).
44

5-
## Docs
5+
## Usage
66

7-
All docs https://supabase.github.io/pg-api/
7+
Full documentation: https://supabase.github.io/pg-api/
8+
9+
A trial API is set up here: https://pg-api.fly.dev/. To use this with your own Postgres database, pass a `pg` header. Example:
10+
11+
```bash
12+
curl -X GET \
13+
'https://pg-api.fly.dev/config/version' \
14+
-H 'pg: { "password":"YOUR_PASSWORD", "host": "YOUR_DB_URL" } '
15+
```
816

9-
A trial API is set up here: https://pg-api.fly.dev/
1017

1118
## Quickstart
1219

0 commit comments

Comments
 (0)