Malformed JSON Web API Playback

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)
Child Item
Child Item
Child Item

Accepted answers

uris is an array. has to be 'uris' : ['track']

All comments

uris is an array. has to be 'uris' : ['track']

Child Item
Child Item