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