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