Database

Try connection to the database with passed config

post/database/try

Request body

typestring
hoststring
portnumber
databasestring
usernamestring
passwordstring

Example request

{
  "type": "postgres",
  "host": "localhost",
  "port": 5432,
  "database": "database_name",
  "username": "postgres",
  "password": "xxxxxxxxxxx"
}

Response

Success

Changes