const form = new FormData();
form.append('title', '<string>');
form.append('connection_type', '<string>');
form.append('host', '<string>');
form.append('port', '<string>');
form.append('database', '<string>');
form.append('username', '<string>');
form.append('password', '<string>');
form.append('table', '<string>');
form.append('username_column', '<string>');
form.append('score_column', '<string>');
form.append('season_mode', '<string>');
form.append('season_start', '<string>');
form.append('season_end', '<string>');
form.append('season_active', '<string>');
form.append('reward', '<string>');
form.append('column_titles', '<string>');
form.append('column_names', '<string>');
form.append('servers_json', '<string>');
const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
options.body = form;
fetch('https://siteadresiniz.example/Files/Controllers/ControllersAll.php', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));