python requests passing json code example Example: python requests send json requests.post('http://httpbin.org/post', json={'test': 'cheers'})