cURL
curl --request POST \ --url http://127.0.0.1:47334/v1/api/api/databases \ --header 'Content-Type: application/json' \ --data '{ "database": { "name": "<string>", "engine": "<string>", "parameters": { "user": "<string>", "password": "<string>", "host": "<string>", "port": "<string>", "database": "<string>" } } }'
{ "name": "<string>", "engine": "<string>", "type": "<string>" }
Creates a new database connection. The example parameters below are for connecting to MySQL. See here for which parameters to use for your datasource.
The created database
The response is of type object.
object