from requests import post
payload = {'key1' : 'value1',
'key2' : 'value2'
}
foo = post('http://httpbin.org/post', data=payload)
To pass form encoded data with the post operation, data must be structured as dictionary and supplied as the data parameter.
If the data d...