You could also try the `XMLHttpRequest` way if `fetch` isn’t cooperating:
```javascript
var xhr = new XMLHttpRequest();
xhr.open('GET', 'your-url', true);
xhr.onload = function() {
console.log(xhr.responseText);
};
xhr.send();
```
Old-school but works when `fetch` acts up.
```javascript
var xhr = new XMLHttpRequest();
xhr.open('GET', 'your-url', true);
xhr.onload = function() {
console.log(xhr.responseText);
};
xhr.send();
```
Old-school but works when `fetch` acts up.
