title: python requests (form filling)
body: <p>This is the link to a page 
  filling forms...</p>
  
  <p><a href="https://anotepad.com/notes/2yrwpi" rel="nofollow noreferrer">https://anotepad.com/notes/2yrwpi</a></p>
  
  <p>where I have to enter the content in the text area (say)("hello world") and then press save, but all this is to be done with python <code>request</code> module (get, post etc) 
  and without the use of selenium and beautifulsoup module.</p>
  
  <p>I tried something like:</p>
  
  <pre><code>url="https://anotepad.com/notes/2yrwpi"
  txt = "Hello World"
  
  #construct the POST request
  form_data = {'btnSaveNote':'Save', 'notecontent' : txt} 
  
  post = requests.post(url,data=form_data)
  </code></pre>
  
  <p>But that doesn't seem to be working</p>
  
  <p>Please help!</p>