const queryURL = `https://classic.warcraftlogs.com/api/v2/client?query=${query}`; this.queryCounter++; // Query WCL const res = await fetch(encodeURI(queryURL), { 'method': 'GET', 'headers': headers, method: 'GET', headers: headers, }); const result = await res.json(); @@ ...