- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Free
Country
Germany
Device
--
Operating System
Windows 10
My Question or Issue
Im trying to get the current Songs, but it always responses with eroro 404 not found.
I alr tried with using the API /current-playing but it responses the same error.
const axios = require('axios');
const clientId = 'clientID';
const token = 'BQC7gjB-m2VGqe1YV6g5,.._YeuJqYs__Mafmc';
axios.get(endpoint, {
headers: {
'Authorization': `Bearer ${token}`
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
Solved! Go to Solution.
Labels:
- Labels:
-
Question
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page