Rest API - Authentication and Authorization
What will be the output of this JavaScript fetch call if the API key is missing?
fetch('https://api.example.com/data', {
headers: { 'Authorization': '' }
})
.then(res => console.log(res.status))