Using the RestConf POST Methods Adding the Header content type properly:
headers = {"Content-Type":"application/vnd.yang.data+json"}