I am trying to make a post call to url and doing authorization within headers,I am certain that it is an error due to authorization. I am able to make post call successfully from postman. but when embedded in a python script it is throwing response 500.
below is the example of python post call :
url = "https://exampleurl"
headers = {
'Content-Type':'application/json',
'Accept':'application/json',
'Authorization':'rest_api_key=147EFE69551B4037B428D3743'
}
r = requests.post(url,data=payload, headers=headers)
Anyone seen this before?
