- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Premium
Country
Canada
Device
Web Brower
Operating System
Windows 10
My Question or Issue
I am calling using the v1/me/player/play endpoint. I am getting Response 400 Malformed json. I had followed this
This is my code:
import requests
headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer {}'.format(s.token)
}
json_data = {
'uris': 'spotify:track:6habFhsOp2NvshLv26DqMb'
}
response = requests.put(url, headers=headers, json=json_data)
Solved! Go to Solution.
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