Rest API - Authentication and Authorization
Find the bug in this Node.js fetch example using an API key:
fetch('https://api.example.com/data', {
method: 'GET',
headers: { 'Authorization': 'ApiKey' }
})
.then(response => response.json())
.then(data => console.log(data))