Using Fetch to connect to an API