8 lines
No EOL
374 B
JavaScript
8 lines
No EOL
374 B
JavaScript
function auditToGoogle() {
|
|
const url = "https://script.google.com/a/highfidelity.io/macros/s/AKfycbwGHKmPtp7L6mjXZq_1uGys-ig1B4PKnUIjia2rdtTNuRebiPiZ/exec?type=test"
|
|
fetch(url, {
|
|
method: 'GET'
|
|
}).then(res => res.json())
|
|
.then(response => console.log('Success:', JSON.stringify(response)))
|
|
.catch(error => console.error('Error:', error));
|
|
} |