+ fetch(BASE_URL + 'api/installation.php', {
+ method:'POST',
+ headers: {'Content-Type':'application/x-www-form-urlencoded'},
+ body: 'method=sql&'+
+ 'host='+encodeURIComponent(sql_host.value)+
+ '&database='+encodeURIComponent(sql_db.value)+
+ '&user='+encodeURIComponent(sql_user.value)+
+ '&password='+encodeURIComponent(sql_pass.value)
+ })