这是我的代码

import requests md = {'sessionKey':'XXXXXXX','target':711XXXXX96,'messageChain':[{'type':'Plain','text':'hello'},{'type':'Plain','text':'world'}]} headers = {'Content-Type': 'application/json'} r4 = requests.post('http://XXXXXXXXX/sendGroupMessage',data=json.dumps(md),headers=headers)

结果是400,参数错误。我试了不把json转化成字符串,也发生了参数错误,请问我应该怎么做?