This is an example showing how we can send an asynchronous HTTP GET
request in Javascript, using the fetch
API. This example is
similar to Example 01. The logic
is the same, but here we use fetch
instead of
XMLHttpRequest
.