Creating a PostgreSQL Database

This example shows how to deploy a PostgreSQL database via Gasper

Prerequisites

$ curl -X POST \
  http://localhost:3000/dbs/postgresql \
  -H 'Authorization: Bearer {{token}}' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "alphapostgresql",
    "password": "alphapostgresql"
}'

{
    "name": "alphapostgresql",
    "password": "alphapostgresql",
    "user": "alphapostgresql",
    "instance_type": "database",
    "language": "postgresql",
    "db_url": "alphapostgresql.db.sdslabs.co",
    "host_ip": "192.168.225.90",
    "port": 29121,
    "owner": "anish.mukherjee1996@gmail.com",
    "success": true
}