415 error while PUTing data with python requests

‘Unsupported Media Type’ when using requests ((
url = “{}/confluence/rest/api/content/203657943”.format(confluenceBaseUrl)
headers = {
“Content-Type”: “application/json”,
“Authorization”: “Bearer {token}”
}
payload = {
“id”:“203657943”,
“type”:“page”,
“title”:“Copy of test 5”,
“space”:{
“key”:“IT”
},
“body”:{
“storage”:{
“value”:“

This is the newly updated text for my page

”,
“representation”:“storage”
}
},
“version”:{
“number”:5
}
}

response = requests.put(url, cookies=cookies, headers=headers, data=payload)

print(response)