Skip to content Skip to sidebar Skip to footer

Uber Api - Requests Endpoint Cannot Read Read Json

I am trying to generate a POST request for the requests endpoint in the following python code: import requests ... response = requests.post( 'https://sandbox-api.uber.com/v1/reques

Solution 1:

Figured out the problem - had to replace the params field with a data field and wrap the dict with json.dumps() before sending it off.


Post a Comment for "Uber Api - Requests Endpoint Cannot Read Read Json"