title: request() got an unexpected keyword argument 'json'
body: <p>I need to send data as <strong>json</strong> with <strong>requests</strong> module in <strong>Python</strong>.</p>
  <p><strong>For example:</strong></p>
  <pre><code>import json
  import requests
  f = requests.Session()
  data = {
      &quot;from_date&quot;: &quot;{}&quot;.format(from_date),
      &quot;to_date&quot;: &quot;{}&quot;.format(to_date),
      &quot;Action&quot;: &quot;Search&quot;
  }
  
  get_data = f.post(URL, json=data, timeout=30, verify=False)
  </code></pre>
  <p><strong>But after run this code, it showed this error:</strong></p>
  <blockquote>
  <pre><code>get_data = f.post(URL, json=data, timeout=30, verify=False)
  File &quot;/usr/lib/python2.7/dist-packages/requests/sessions.py&quot;, line 497, in post
  return self.request('POST', url, data=data, **kwargs)
  TypeError: request() got an unexpected keyword argument 'json'
  </code></pre>
  </blockquote>
  <p>I'm on <code>Ubuntu 16.04</code> and my Python version is <code>2.7.6</code></p>
  <p>How to issue this problem?</p>