title: Facing issue while POST when it has no payload (python code)
body: <p>The code called by my script is (this is code in api.py)</p>
  
  <pre><code>def post(url, data=None, **kwargs):
      """Sends a POST request. Returns :class:`Response` object.
  
      :param url: URL for the new :class:`Request` object.
      :param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:`Request`.
      :param \*\*kwargs: Optional arguments that ``request`` takes.
      """
      return request('post', url, data=data, **kwargs)
  </code></pre>
  
  <p>Now I need to POST a request which has no payload, as the info which I need to post is in url itself. I have tried following combinations but failed:</p>
  
  <p>1) <code>requests.post(url, auth, data=None)</code></p>
  
  <p>Fails saying:</p>
  
  <pre><code>result = requests.post(api, auth, data=None)
  TypeError: post() got multiple values for keyword argument 'data'   
  </code></pre>
  
  <p>2) <code>requests.post(api, auth, data=payload)</code> where payload is empty json.</p>
  
  <p>Please suggest..</p>