Simple Fetch API Example

let request = new Request('https://localhost:5001/api/values'); fetch(request) .then((response) => response.json()) .then((json) => console.log(json)); https://developer.mozilla.org/ »