Task:
https://yourapi.com/tasks
fetch('https://yourapi.com/tasks', { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }) .then(response => response.json()) .then(data => console.log(data));
For this website to stay online as long as possible, please consider a donation.