creating own http request code example
Example: create http request
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'
};