r/CodingHelp • u/Ok_Pea7391 • Aug 17 '25
[Javascript] need help figuring out Spotify authentication token
I'm learning about api need to get auth for my terminal so I can follow this guys guide but every time I copy the code its says 401 message invalid access token
1
Upvotes
View all comments
Show parent comment
1
u/Ok_Pea7391 Aug 17 '25
1 curl --request GET \
2
--url 'https://api.spotify.com/v1/search?
q=remaster%2520track%3ADoxy%2520artist%3AMiles%2520Dav
is&type=album' \
3
--header 'Authorization: Bearer