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