',// this encodes the app_id and api_key into a base64 string likethe documentation states
'Authorization': `Basic ${btoa(spotify.API_ID + ':' + spotify.<e
我很确定这是由于JSON为空引起的,但我正在尝试使用节点-fetch获取在Spotify上播放的当前歌曲,任何试图调用response.json()的尝试都会导致应用程序退出时出现以下错误: at JSON.parse (<anonymous>)
at Response.json (file:///C:/Users15)