title: Sending multiple values with python requests
body: <p>Good morning,
  Once i have used requests for submitting a web-form with only one value / parameter. But now i have to submit a web-form with multiple values but its not submitting and the print(r.status_code, r.reason) is 200,OK. There is not any error. I have searched a lot but i'm not understanding what's wrong. Here is my code.</p>
  
  <pre><code>import requests
  
  payload = {'to':'anyemail@xx.com','from':'anyemail@xx.com','message':'sent from python','subject':'sent from python'}
  r = requests.post("http://www.website.com/send.php",data=payload)
  print('Email sent successfully!')    
  print(r.status_code, r.reason)
  print(r.text)
  print(r.content)
  </code></pre>
  
  <p>webpage code</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;&lt;/head&gt;
      &lt;body&gt;
          &lt;form method="POST" action="send.php"&gt;
              &lt;input type="email" name="to"&gt;
              &lt;input type="email" name="from"&gt;
              &lt;input type="text" name="message"&gt;
              &lt;input type="text" name="subject"&gt;
              &lt;input type="submit" name="send"&gt;
          &lt;/form&gt;
      &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>