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