SetupConfigController_databaseConfigure
POST
/setup/v1/database/configure
const url = 'https://your-store.example.com/setup/v1/database/configure';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"mode":"bare_metal","url":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://your-store.example.com/setup/v1/database/configure \ --header 'Content-Type: application/json' \ --data '{ "mode": "bare_metal", "url": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
mode
required
string
url
string