Erstellen Sie die HTTP -Anfrage

const xhr = new XMLHttpRequest();

let method = 'GET';
let endpoint = 'what you looking for';

xhr.open(method, endpoint);
xhr.send();

xhr.onload = () => {
	'working what you get'
};
Creepy Gábor