human
Post JSON using Python Requests
assistant
Here is some code to execute a post request to url `http://httpbin.org/post` with json data `{'test': 'cheers'}`

requests.post('http://httpbin.org/post', json={'test': 'cheers'})

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.