Take a simple API fetch call, such as follows:
fetch(\'https://api.nasa.gov/planetary/apod?api_key=xxxxxxxxx\') .then(res => res.json()) .then(data =>se