Spotify API bad request on api/token authorization Error: 400
问题 I am trying to authorize spotify api requests using Client Credentials Flow on the Spotify API Docs page. Here is my code in javascript ES6 format using the fetch API const response = await fetch('https://accounts.spotify.com/api/token', { mode: 'no-cors', method: 'POST', headers: { 'Authorization': 'Basic Yzg4OWYzMjM5MjI0NGM4MGIyMzIyOTI5ODQ2ZjZmZWQ6MmUzZTM2YTMzMTM5NDM1Mzk3NzM4ZDMxMTg4MzM0Mjc=', 'Content-type': 'application/x-www-form-urlencoded' }, body: 'grant_type=client_credentials' });