I\'m trying to send an array(list) of requests to the WheniWork API using requests.post, and I keep getting one of two errors. When I send the list as a list, I get an unpac
Well, It turns out that all I needed to do was add these headers:
headers = {'Content-Type': 'application/json', 'Accept':'application/json'}
and then call requests
requests.post(url,data=json.dumps(payload), headers=headers)
and now i'm good!