pckhib / node-red-contrib-spotify

Node-RED node for Spotify Web API
MIT License
13 stars 16 forks source link

Bad body request format I suppose... #15

Closed lucasCFO closed 4 years ago

lucasCFO commented 4 years ago

Hi, I'm trying to use "TransferMyPlayback" which corresponds to the "Transfer a User's Playback" in the Spotify API but I keep having a Bad Request error... Here's what I've wrote in the function node, but doesn't work: return { params : [ {device_ids:['my_device_id']} ] }; Thanks for your help! ;-)

lucasCFO commented 4 years ago

Ok I got it, here is the solution :

return { params : [ {deviceIds:['my_device_id']} ] };