Google Console API - Restart
fetch('https://XXX-partner.saviyntcloud.com/ECM/savRoles/applicationrestart', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8', 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'X-Requested-With': 'XMLHttpRequest' }, body: new URLSearchParams({ 'param1': 'value1', 'param2': 'value2' // Add your form data here }) }) .then(response => response.text()) // Use .json() if the response is JSON .then(data => console.log(data)) .catch(error => console.error('Error:', error));