I want to send a string through POST request like
#my data string
data='[{ "DeviceNo":"123123123","LogDate":"2018-11-18", "FileName":"X.py", "LogMessage":"Message" }]'
response = requests.post(url,files=data, timeout=20, headers={'Authorization': accessToken})
I dont know how to send this data. Don't know if "files=data"
is a correct usage for that.