Have a look at the Python example provided by @yanokwa.
You must provide your request content in JSON format.
import json
response_body = requests.post('https://odk.example.com/v1/sessions',
data=json.dumps(values),
headers=headers)