I'm trying to read and print the contents of an external public calendar file, but I can't manage to get it. Follows a snippet.
Tnks in advance
let request = new XMLHttpRequest();
request.open('GET', 'https://calendar.google.com/calendar/ical/bgeifeogh2n24nnua648thcru4%40group.calendar.google.com/public/basic.ics');
request.responseType = 'text';
document.write("test" + request.response);
request.send();